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

ItemCheckingEventArgs.OldValue Property

Gets the item’s previous checked state.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public CheckState OldValue { get; protected set; }

#Property Value

Type Description
CheckState

A CheckState value representing the previous checked state of the item.

#Remarks

The OldValue property returns the item’s previous checked state . The new value to be assigned to the item is specified by the ItemCheckingEventArgs.NewValue property.

It is possible to prevent the item’s checked state from being changed. To do this, you can set the Cancel parameter of the BaseCheckedListBoxControl.ItemChecking event to true.

See Also