CheckedListBoxItem.GetCheckValue(CheckState) Method
Converts a check state to a Nullable<Boolean> value. This member supports the internal infrastructure, and is not intended to be used directly from your code.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
checkState | CheckState | A CheckedState enumeration value to be converted. |
Returns
Type | Description |
---|---|
Nullable<Boolean> | A Nullable<Boolean> value. |
Remarks
The GetCheckValue method converts a CheckedState enumeration value passed as the checkState parameter to the Nullable<Boolean> value according to the following rules:
- CheckState.Indeterminate — null
- CheckState.Checked — true
- CheckState.Unchecked — false
See Also