DXToggleButton.CheckedChanging Event
Fires when a user clicks the toggle button to change the IsChecked property.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
Declaration
public event EventHandler<ValueChangingEventArgs<bool>> CheckedChanging
Event Data
The CheckedChanging event's data class is ValueChangingEventArgs<Boolean>. 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 of a property. |
OldValue | Gets the old value of a property. |
Remarks
The CheckedChanging
event allows you to cancel the IsChecked value change, but it does not fire when the IsChecked property is set directly from code or binding.
See Also