DataGridViewTriState Enumeration

List of enumerated values for specifying one of three possible states.

The DataGridViewTriState enumeration is useful whenever a third state is needed in addition to the two states of the Boolean type. For example, the DataGridViewColumn.Resizable property is of type DataGridViewTriState to allow no preference in regards to the resizable state of a column.

Namespace: elsystem.windows.forms

Enumerated Values
  Name

Value

Description
Public property False

2

The property's state is false.
Public property NotSet

0

The property is not set and will behave in a default manner.
Public property True

1

The property's state is true.