windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedcomboboxedit-d02cba05.md
Fires before an item’s check state changes and allows you to cancel the action.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Events")]
public event EventHandler<ItemCheckingEventArgs> ItemChecking
<DXCategory("Events")>
Public Event ItemChecking As EventHandler(Of ItemCheckingEventArgs)
The ItemChecking event's data class is ItemCheckingEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs. |
| Index | Gets the index of the item whose checked state is about to be changed. |
| IsBoundUpdatingEditValue | For internal use. Inherited from ChangingEventArgs. |
| IsTextChanging | For internal use. Inherited from ChangingEventArgs. |
| ModifiedByUser | Gets whether a user changed the value. Inherited from ChangingEventArgs. |
| NewValue | Gets or sets a new checked state for the item. |
| OldValue | Gets the item’s previous checked state. |
This ItemChecking event is equivalent to the CheckedComboBoxEdit.ItemChecking event. Read this topic for detailed information and example.
See Also
RepositoryItemCheckedComboBoxEdit Class