Back to Devexpress

RepositoryItemCheckedComboBoxEdit.ItemChecking Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcheckedcomboboxedit-d02cba05.md

latest3.1 KB
Original Source

RepositoryItemCheckedComboBoxEdit.ItemChecking Event

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

Declaration

csharp
[DXCategory("Events")]
public event EventHandler<ItemCheckingEventArgs> ItemChecking
vb
<DXCategory("Events")>
Public Event ItemChecking As EventHandler(Of ItemCheckingEventArgs)

Event Data

The ItemChecking event's data class is ItemCheckingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
IndexGets the index of the item whose checked state is about to be changed.
IsBoundUpdatingEditValueFor internal use. Inherited from ChangingEventArgs.
IsTextChangingFor internal use. Inherited from ChangingEventArgs.
ModifiedByUserGets whether a user changed the value. Inherited from ChangingEventArgs.
NewValueGets or sets a new checked state for the item.
OldValueGets the item’s previous checked state.

Remarks

This ItemChecking event is equivalent to the CheckedComboBoxEdit.ItemChecking event. Read this topic for detailed information and example.

See Also

RepositoryItemCheckedComboBoxEdit Class

RepositoryItemCheckedComboBoxEdit Members

DevExpress.XtraEditors.Repository Namespace