windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-itemcheckeventargs-d99259e2.md
Gets the state of the item.
Namespace : DevExpress.XtraEditors.Controls
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public CheckState State { get; protected set; }
Public Property State As CheckState
| Type | Description |
|---|---|
| CheckState |
A CheckState value representing the checked state of the item.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the State property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
object obj = Control.GetItemValue(e.Index);
switch (e.State) {
case CheckState.Checked:
Dim obj As Object = Control.GetItemValue(e.Index)
Select Case e.State
Case CheckState.Checked
See Also