专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »外文资料 » UniformGrid in WPF »正文

UniformGrid in WPF

来源: 发布时间:星期日, 2008年10月5日 浏览:2次 评论:0

UniformGrid has a namespace System.Windows.Controls.Primitives. Good thing is in UniformGrid is it displays child elements in columns and rows of the same size. The order of the elements is given by it is order they have been added.

Here is a simple example a UniformGrid has two rows and two columns with four Image controls.

<UniformGrid Columns="2" Rows="2" Name="uniformGrid1" >

<Image Source="ais176v.jpg"></Image>

<Image Source="ais176v.jpg"></Image>

<Image Source="ais176v.jpg"></Image>

<Image Source="ais176v.jpg"></Image>

</UniformGrid>

Result looks like this.

If I add _disibledevent="Verdana, Arial, Helvetica, sans-serif">Cool control.

标签:

相关文章

读者评论

  • 共0条 分0页

发表评论

  • 昵称:
  • 内容: