Popup 控件
摘要:Popup:在一个单独的窗口中显示内容,该窗口浮动在当前应用程序窗口之上。<Window x:Class="MaterialStorage.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="
阅读全文
posted @
2013-02-28 17:44
振宇爸爸
阅读(177)
推荐(0) 编辑
Menu 菜单栏
摘要:XAML中的菜单栏不再像WINFORM一样有一个专用的控件来实现它,我们通过DockPanel来实现这样的一个功能。<Window x:Class="MaterialStorage.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="3
阅读全文
posted @
2013-02-28 17:36
振宇爸爸
阅读(188)
推荐(0) 编辑
Slider 控件
摘要:Slider:表示一种控件,该控件使用户可以通过沿着一条轨道移动Thumb控件来从一个值范围中进行选择。(官方文档上面写的很难懂,其实就是一个可以用鼠标拖拉来改变值的条)<Window x:Class="MaterialStorage.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Main
阅读全文
posted @
2013-02-28 17:20
振宇爸爸
阅读(337)
推荐(0) 编辑
Border 控件
摘要:Border:在另一个对象的周围绘制边框、背景或同时绘制二者。<Window x:Class="MaterialStorage.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525&qu
阅读全文
posted @
2013-02-28 17:07
振宇爸爸
阅读(201)
推荐(0) 编辑
Grid 网格布局控件
摘要:Grid定义一个内容修饰器,该修饰器可拉伸和缩放单个子元素以填满可用空间。为什么先介绍这个控件呢,因为在程序中少不了对界面进行排版,所以我们先介绍这个控件。<Window x:Class="MaterialStorage.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow&
阅读全文
posted @
2013-02-28 16:49
振宇爸爸
阅读(224)
推荐(0) 编辑