Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

public static bool? GetCheckValue(
    CheckState checkState
)

#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