CheckedListBoxItem.GetCheckValue(CheckState) Method
In This Article
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
NuGet Package: DevExpress.Win.Navigation
#Declaration
public static bool? GetCheckValue(
CheckState checkState
)
#Parameters
Name | Type | Description |
---|---|---|
check |
Check |
A Checked |
#Returns
Type | Description |
---|---|
Nullable<Boolean> | A Nullable |
#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