
WPF
文章平均质量分 77
gavinlove_
这个作者很懒,什么都没留下…
展开
-
WPF控件学习系列之四---WrapPanel控件
Wrap PanelIntroduction介绍The wrap panel is similar to the StackPanel but it does not just stack all child elements to one row, it wraps them to new lines if no space is left. The Orientation can be set to Horizontal or Vertical.The WrapPanel can be used to翻译 2011-04-16 19:34:00 · 1560 阅读 · 0 评论 -
WPF控件学习系列之五---CanvasPanel控件
Canvas Panel<br /> <br />Introduction介绍<br />The Canvas is the most basic layout panel in WPF. It's child elements are positioned by explicit coordinates. The coordinates can be specified relative to any side of the panel usind the Canvas.Left, Canvas.Top,翻译 2011-04-16 20:04:00 · 2032 阅读 · 0 评论 -
WPF控件学习系列之三---GridPanel控件
GridGrid元素是以行和列的形式对内容进行精确定位的最常用布局控件,它的展现类似于HTML语言里面的Table控件。一个单元格对象里面可以包含多个子控件。 Define Rows and Columns (定义Grid元素的行和列)Grid元默认包含一个行一个列,用户要对Grid元素添加行或添加列,需要对Grid元素添加RowDefinition 集合或者 ColumnDefinition命令。下面的例子展示了如何添加两行两列。它的大小设置可以是一个抽象的单位,如百分比或自动填充。翻译 2011-04-16 16:43:00 · 1595 阅读 · 0 评论