WPF中,Grid与Table的区别(英文)
来源:互联网 发布:java正则表达式( 编辑:程序博客网 时间:2024/05/29 12:49
How is Grid Different from Table?
Table and Grid share some common functionality, but each is best suited for different scenarios.
(1)Grid derives from the Panel element, it defines a flexible grid area that consists of columns and rows.
Table derives from the Block element, and adheres to the common rules for containing a Block element. A Table element may be contained by any of the following elements: FlowDocument, TableCell, ListBoxItem, ListViewItem, Section, Floater, Figure.
(2) A Table is designed for use within flow content.
Grids are best used inside of forms (basically anywhere outside of flow content).
(3) Within a FlowDocument, Table supports flow content behaviors like pagination, column reflow, and content selection while a Grid does not.
(4)A Grid on the other hand is best used outside of a FlowDocument for many reasons including Grid adds elements based on a row and column index, Table does not.
(5)The Grid element allows layering of child content, allowing more than one element to exist within a single "cell."
Table does not support layering.
(6)Child elements of a Grid can be absolutely positioned relative to the area of their "cell" boundaries. Table does not support this feature.
(7)Finally, Grid also offers more flexible resizing behavior than Table. A Grid is lighter weight then a Table.
- WPF中,Grid与Table的区别(英文)
- 关于NGUI的Table和Grid区别
- WPF中Auto与*的区别
- WPF中Auto与*的区别
- WPF中Auto与*的区别
- HTML中form与table的区别
- WPF(Grid与布局)
- WPF中Timer与DispatcherTimer类的区别
- WPF中呈现变形与布局变形的区别
- [.Net码农]WPF中Timer与DispatcherTimer类的区别
- wpf中ist<T>与ObservableCollection<T>的用法区别
- TRANCATE TABLE与DETELE TABLE的区别
- INTO TABLE与APPENDING TABLE的区别
- Silverlight中使用Grid创建自定义的Table表格
- oracle中truncate table与delete的区别
- 【hbase】 Table中Family和Qualifier的关系与区别
- WPF中如何选择合适的元数据标记?(英文)
- div与table的区别
- 软件质量管理
- 犟牛必强!
- .bat批处理命令
- .net2.0 控件 winform Datagridview简介
- 使用 Cypal Studio for GWT 简化 Ajax 开发
- WPF中,Grid与Table的区别(英文)
- Linux查找文件的相关命令说明
- 懂得测试
- gtalk自动检测bot0.01
- Silverlight 学习网站集锦
- UML系列学习之——UML简介
- UML复习系列之二(工具使用)
- c#操作XML
- BPEL definition