文件名称:CustomDataGridView
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 25kb
- 下载次数:
- 0次
- 提 供 者:
- a***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
自定义 Windows 窗体 DataGridView 控件
现有的几种嵌套控件,但无时间控件类型,下载代码中就是嵌套了时间控件类。
System.Windows.Forms.DataGridViewTextBoxColumn,
System.Windows.Forms.DataGridViewComboBoxColumn,
System.Windows.Forms.DataGridViewCheckBoxColumn,
DataGridView 控件提供了多个可用来调整其单元格、行和列的外观和基本行为(外观和感受)的属性。但是,如果您有超出 DataGridViewCellStyle 类的功能之外的特殊需求,还可以实现控件的所有者描述,或者通过创建自定义单元格、列和行来扩展其功能。
若要自己绘制单元格和行,可以对各种 DataGridView 绘制事件进行处理。若要修改现有功能或提供新的功能,可以创建自己的从现有的 DataGridViewCell、DataGridViewColumn 和 DataGridViewRow 类型派生的类型。还可以通过创建派生类型来提供新的编辑功能,当单元格处于编辑模式时,该派生类型可以显示所选择的控件。-The DataGridView control provides multiple available to adjust the cell, row and column appearance and basic behavior (look and feel) of the property. However, if you have special needs beyond DataGridViewCellStyle class features, can also achieve the control owner, or by creating custom cells, columns and rows to extend its functionality.
To draw the cell and row handle various DataGridView draw event. To modify existing features or provide new functionality, you can create your own types derived from the existing DataGridViewCell, DataGridViewColumn and DataGridViewRow type. New editing capabilities by creating a derived type, when the cell is in edit mode, the derived type can display the selected controls.
现有的几种嵌套控件,但无时间控件类型,下载代码中就是嵌套了时间控件类。
System.Windows.Forms.DataGridViewTextBoxColumn,
System.Windows.Forms.DataGridViewComboBoxColumn,
System.Windows.Forms.DataGridViewCheckBoxColumn,
DataGridView 控件提供了多个可用来调整其单元格、行和列的外观和基本行为(外观和感受)的属性。但是,如果您有超出 DataGridViewCellStyle 类的功能之外的特殊需求,还可以实现控件的所有者描述,或者通过创建自定义单元格、列和行来扩展其功能。
若要自己绘制单元格和行,可以对各种 DataGridView 绘制事件进行处理。若要修改现有功能或提供新的功能,可以创建自己的从现有的 DataGridViewCell、DataGridViewColumn 和 DataGridViewRow 类型派生的类型。还可以通过创建派生类型来提供新的编辑功能,当单元格处于编辑模式时,该派生类型可以显示所选择的控件。-The DataGridView control provides multiple available to adjust the cell, row and column appearance and basic behavior (look and feel) of the property. However, if you have special needs beyond DataGridViewCellStyle class features, can also achieve the control owner, or by creating custom cells, columns and rows to extend its functionality.
To draw the cell and row handle various DataGridView draw event. To modify existing features or provide new functionality, you can create your own types derived from the existing DataGridViewCell, DataGridViewColumn and DataGridViewRow type. New editing capabilities by creating a derived type, when the cell is in edit mode, the derived type can display the selected controls.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CustomDataGridView\CustomDataGridView\obj\CustomDataGridView.csproj.FileList.txt
..................\..................\bin\Debug\CustomDataGridView.exe
..................\..................\obj\Debug\CustomDataGridView.exe
..................\..................\bin\Debug\CustomDataGridView.vshost.exe
..................\..................\...\Debug
..................\..................\bin
..................\..................\obj\Debug\TempPE
..................\..................\...\.....\CustomDataGridView.csproj.GenerateResource.Cache
..................\..................\...\Debug
..................\..................\obj
..................\..................\Properties\AssemblyInfo.cs
..................\..................\CalendarCell.cs
..................\..................\CalendarColumn.cs
..................\..................\CalendarEditingControl.cs
..................\..................\Form1.cs
..................\..................\Form1.Designer.cs
..................\..................\Program.cs
..................\..................\...perties\Resources.Designer.cs
..................\..................\..........\Settings.Designer.cs
..................\..................\Properties
..................\..................\CustomDataGridView.csproj
..................\..................\bin\Debug\CustomDataGridView.pdb
..................\..................\obj\Debug\CustomDataGridView.pdb
..................\..................\...\.....\CustomDataGridView.Form1.resources
..................\..................\...\.....\CustomDataGridView.Properties.Resources.resources
..................\..................\Form1.resx
..................\..................\Properties\Resources.resx
..................\..................\..........\Settings.settings
..................\CustomDataGridView
..................\CustomDataGridView.sln
..................\CustomDataGridView.suo
CustomDataGridView
..................\..................\bin\Debug\CustomDataGridView.exe
..................\..................\obj\Debug\CustomDataGridView.exe
..................\..................\bin\Debug\CustomDataGridView.vshost.exe
..................\..................\...\Debug
..................\..................\bin
..................\..................\obj\Debug\TempPE
..................\..................\...\.....\CustomDataGridView.csproj.GenerateResource.Cache
..................\..................\...\Debug
..................\..................\obj
..................\..................\Properties\AssemblyInfo.cs
..................\..................\CalendarCell.cs
..................\..................\CalendarColumn.cs
..................\..................\CalendarEditingControl.cs
..................\..................\Form1.cs
..................\..................\Form1.Designer.cs
..................\..................\Program.cs
..................\..................\...perties\Resources.Designer.cs
..................\..................\..........\Settings.Designer.cs
..................\..................\Properties
..................\..................\CustomDataGridView.csproj
..................\..................\bin\Debug\CustomDataGridView.pdb
..................\..................\obj\Debug\CustomDataGridView.pdb
..................\..................\...\.....\CustomDataGridView.Form1.resources
..................\..................\...\.....\CustomDataGridView.Properties.Resources.resources
..................\..................\Form1.resx
..................\..................\Properties\Resources.resx
..................\..................\..........\Settings.settings
..................\CustomDataGridView
..................\CustomDataGridView.sln
..................\CustomDataGridView.suo
CustomDataGridView