System.Windows.Forms.DataGridViewCellStyleScopes Enumeration

Specifies the System.Windows.Forms.DataGridView entity that owns the cell style that was changed.

Syntax

[System.Flags]
public enum DataGridViewCellStyleScopes

Remarks

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

Members

Member NameDescription
AlternatingRows

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

Cell

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

Column

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

ColumnHeaders

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

DataGridView

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

None

The owning entity is unspecified.

Row

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

RowHeaders

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

Rows

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0