DataGridViewCellStyleScopes 枚举

定义

指定拥有已更改单元格样式的 DataGridView 实体。

此枚举支持其成员值的按位组合。

public enum class DataGridViewCellStyleScopes
[System.Flags]
public enum DataGridViewCellStyleScopes
[<System.Flags>]
type DataGridViewCellStyleScopes = 
Public Enum DataGridViewCellStyleScopes
继承
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

适用于

另请参阅