Editar

Compartilhar via


DataGridViewCellStyleScopes Enum

Definition

Specifies the DataGridView entity that owns the cell style that was changed.

This enumeration supports a bitwise combination of its member values.

public enum class DataGridViewCellStyleScopes
[System.Flags]
public enum DataGridViewCellStyleScopes
[<System.Flags>]
type DataGridViewCellStyleScopes = 
Public Enum DataGridViewCellStyleScopes
Inheritance
DataGridViewCellStyleScopes
Attributes

Fields

Name Value Description
None 0

The owning entity is unspecified.

Cell 1

One or more values of the object returned by the Style property changed.

Column 2

One or more values of the object returned by the DefaultCellStyle property changed.

Row 4

One or more values of the object returned by the DefaultCellStyle property changed.

DataGridView 8

One or more values of the object returned by the DefaultCellStyle property changed.

ColumnHeaders 16

One or more values of the object returned by the ColumnHeadersDefaultCellStyle property changed.

RowHeaders 32

One or more values of the object returned by the RowHeadersDefaultCellStyle property changed.

Rows 64

One or more values of the object returned by the RowsDefaultCellStyle property changed.

AlternatingRows 128

One or more values of the object returned by the AlternatingRowsDefaultCellStyle property changed.

Remarks

This enumeration is used by DataGridViewCellStyleContentChangedEventArgs to indicate which part of the DataGridView owns the DataGridViewCellStyle that changed.

Applies to

See also