DataGridViewCellStyleScopes DataGridViewCellStyleScopes DataGridViewCellStyleScopes DataGridViewCellStyleScopes Enum

定义

指定拥有发生更改的单元格样式的 DataGridView 实体。Specifies the DataGridView entity that owns the cell style that was changed.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class DataGridViewCellStyleScopes
[System.Flags]
public enum DataGridViewCellStyleScopes
type DataGridViewCellStyleScopes = 
Public Enum DataGridViewCellStyleScopes
继承
DataGridViewCellStyleScopesDataGridViewCellStyleScopesDataGridViewCellStyleScopesDataGridViewCellStyleScopes
属性

字段

AlternatingRows AlternatingRows AlternatingRows AlternatingRows 128

由更改的 AlternatingRowsDefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the AlternatingRowsDefaultCellStyle property changed.

Cell Cell Cell Cell 1

由更改的 Style 属性返回的对象的一个或多个值。One or more values of the object returned by the Style property changed.

Column Column Column Column 2

由更改的 DefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the DefaultCellStyle property changed.

ColumnHeaders ColumnHeaders ColumnHeaders ColumnHeaders 16

由更改的 ColumnHeadersDefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the ColumnHeadersDefaultCellStyle property changed.

DataGridView DataGridView DataGridView DataGridView 8

由更改的 DefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the DefaultCellStyle property changed.

None None None None 0

未指定所属的实体。The owning entity is unspecified.

Row Row Row Row 4

由更改的 DefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the DefaultCellStyle property changed.

RowHeaders RowHeaders RowHeaders RowHeaders 32

由更改的 RowHeadersDefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the RowHeadersDefaultCellStyle property changed.

Rows Rows Rows Rows 64

由更改的 RowsDefaultCellStyle 属性返回的对象的一个或多个值。One or more values of the object returned by the RowsDefaultCellStyle property changed.

注解

此枚举由DataGridViewCellStyleContentChangedEventArgs以指示的哪一部分DataGridView拥有DataGridViewCellStyle更改。This enumeration is used by DataGridViewCellStyleContentChangedEventArgs to indicate which part of the DataGridView owns the DataGridViewCellStyle that changed.

适用于

另请参阅