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

CheckedComboBoxEdit.IsSelectAllItem(CheckedListBoxItem) Method

Checks if the item is the Select All item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public static bool IsSelectAllItem(
    CheckedListBoxItem item
)

#Parameters

Name Type Description
item CheckedListBoxItem

The list box item that needs to be checked.

#Returns

Type Description
Boolean

True if the item is the Select All item, otherwise false.

#Remarks

The code sample below illustrates how to detect a Select All item in the list box. Note that it only works when the list box is shown.

if (CheckedComboBoxEdit.IsSelectAllItem(checkedComboBoxEdit1.InternalListBox.Items[0]))
    XtraMessageBox.Show("This list has the \"Select All\" item!");
See Also