欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 财经 > 创投人物 > 数据网格和视图入门

数据网格和视图入门

2024/10/24 23:22:53 来源:https://blog.csdn.net/missingzlp/article/details/139609488  浏览:    关键词:数据网格和视图入门

WinForms数据网格(GridControl类)是一个数据感知控件,可以以各种格式(视图)显示数据。本主题包含以下部分,这些部分将指导您如何使用网格控件及其视图和列(字段)。

  • Grid Control’s Views -网格控件的视图
  • Select a View -选择视图
  • Supply Data for Views and Populate Column Collection -为视图提供数据并填充列集合
  • Access and Customize Views and Columns at Design Time -在设计时访问和自定义视图和列
  • Access and Customize Views and Columns in Code -访问和自定义代码中的视图和列
  • Layout of Columns and Bands (in Grid Views and Banded Grid Views) -柱和标注栏的布局(在轴网视图和标注栏轴网视图中)
  • Learn More

Grid Control’s Views -网格控件的视图

The WinForms Data Grid control supports multiple data presentation formats.

Tabular表格
Banded tabular带状表格
Cards
Windows UI-inspired TilesWindows UI启发的互动程序
Windows Explorer-inspired UIWindows资源管理器启发的用户界面

上面的显示格式由Views封装,Views是可以嵌入到数据网格中的可视化组件。
为“网格”控件指定适当的“视图”,以便以特定方式显示数据。使用视图的属性、事件和方法可以自定义视图的外观。

Grid View (GridView class)

Grid View
在这里插入图片描述

待续。。。

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com