Skip to main content

DXTreeView.SelectedItemChanging Event

Fires when a user attempts to select an item, but before selection changes.

Namespace: DevExpress.Maui.TreeView

Assembly: DevExpress.Maui.TreeView.dll

NuGet Package: DevExpress.Maui.TreeView

Declaration

public event EventHandler<ValueChangingEventArgs<object>> SelectedItemChanging

Event Data

The SelectedItemChanging event's data class is ValueChangingEventArgs<System.Object>. 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.
NewValue Gets the new value.
OldValue Gets the old value.

Remarks

For more information, refer to the following help topic: Respond to Selection Changes.

See Also