BaseCheckedListBoxControl.GetItemCheckState(Int32) Method
Gets the check state of the item specified by its index.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual CheckState GetItemCheckState(
int index
)
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value representing the zero-based index of the item. |
#Returns
Type | Description |
---|---|
Check |
A Check |
#Remarks
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.