DataGridViewCellStyleScopes Enum

Definition

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Fields

AlternatingRows 128

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

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.

ColumnHeaders 16

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

DataGridView 8

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

None 0

The owning entity is unspecified.

Row 4

One or more values of the object returned by the DefaultCellStyle 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.

Remarks

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

Applies to

See also