Skip to main content

BaseCheckedListBoxControl.GetItemCheckState(Int32) Method

Gets the check state of the item specified by its index.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual CheckState GetItemCheckState(
    int index


Name Type Description
index Int32

An integer value representing the zero-based index of the item.


Type Description

A CheckState enumeration member representing the item’s check state. CheckState.Unchecked if the item’s index is negative or exceeds the last available index.


This method determines the check state of the item specified by its index. When you only need to determine whether the item is checked, use the BaseCheckedListBoxControl.GetItemChecked method instead.

If you need to change the item’s check state, you can use the control’s BaseCheckedListBoxControl.SetItemCheckState method or the item’s CheckedListBoxItem.CheckState property.

See Also