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

BaseCheckedListBoxControl.GetItemChecked(Int32) Method

Gets a value indicating whether the item is checked.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual bool GetItemChecked(
    int index
)

#Parameters

Name Type Description
index Int32

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

#Returns

Type Description
Boolean

true if the item is checked; false if unchecked or in the indeterminate state.

#Remarks

This method returns false if the index parameter is negative or exceeds the last available index.

To check an item, use the BaseCheckedListBoxControl.SetItemChecked method.

Use the BaseCheckedListBoxControl.GetItemCheckState and BaseCheckedListBoxControl.SetItemCheckState methods to get and set the item’s state.

See Also