DataGridViewElement 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 DataGridView 控件的元素提供基类。
public ref class DataGridViewElement
C#
public class DataGridViewElement
type DataGridViewElement = class
Public Class DataGridViewElement
- 继承
-
DataGridViewElement
- 派生
.NET Framework提供派生自 DataGridViewElement的两个专用类:DataGridViewCell(表示单个元素)和 DataGridViewBand(表示一系列分组子元素)。
Data |
初始化 DataGridViewElement 类的新实例。 |
Data |
获取与此元素关联的 DataGridView 控件。 |
State |
获取元素的用户界面 (UI) 状态。 |
Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
Get |
作为默认哈希函数。 (继承自 Object) |
Get |
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
创建当前 Object 的浅表副本。 (继承自 Object) |
On |
当该元素与其他 DataGridView 关联时调用。 |
Raise |
引发 CellClick 事件。 |
Raise |
引发 CellContentClick 事件。 |
Raise |
引发 CellContentDoubleClick 事件。 |
Raise |
引发 CellValueChanged 事件。 |
Raise |
引发 DataError 事件。 |
Raise |
引发 MouseWheel 事件。 |
To |
返回表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |