Skip to main content

CheckedComboBoxEdit.IsSelectAllItem(CheckedListBoxItem) Method

Checks if the item is the Select All item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.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