DataGridViewCellStyleScopes 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定拥有已更改单元格样式的 DataGridView 实体。
此枚举支持其成员值的按位组合。
public enum class DataGridViewCellStyleScopes
[System.Flags]
public enum DataGridViewCellStyleScopes
[<System.Flags>]
type DataGridViewCellStyleScopes =
Public Enum DataGridViewCellStyleScopes
- 继承
- 属性
字段
| 名称 | 值 | 说明 |
|---|---|---|
| None | 0 | 未指定拥有实体。 |
| Cell | 1 | 属性返回 Style 的一个或多个值已更改。 |
| Column | 2 | 属性返回 DefaultCellStyle 的一个或多个值已更改。 |
| Row | 4 | 属性返回 DefaultCellStyle 的一个或多个值已更改。 |
| DataGridView | 8 | 属性返回 DefaultCellStyle 的一个或多个值已更改。 |
| ColumnHeaders | 16 | 属性返回 ColumnHeadersDefaultCellStyle 的一个或多个值已更改。 |
| RowHeaders | 32 | 属性返回 RowHeadersDefaultCellStyle 的一个或多个值已更改。 |
| Rows | 64 | 属性返回 RowsDefaultCellStyle 的一个或多个值已更改。 |
| AlternatingRows | 128 | 属性返回 AlternatingRowsDefaultCellStyle 的一个或多个值已更改。 |
注解
此枚举用于DataGridViewCellStyleContentChangedEventArgs指示拥有更改的DataGridView哪一部分DataGridViewCellStyle。