CheckedComboBoxEdit.IsSelectAllItem(CheckedListBoxItem) Method

Checks if the item is the Select All item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public static bool IsSelectAllItem(
    CheckedListBoxItem item
)
Public Shared Function IsSelectAllItem(
    item As CheckedListBoxItem
) As Boolean

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