Back to Devexpress

DXToggleButton.CheckedChanging Event

maui-devexpress-dot-maui-dot-core-dot-dxtogglebutton-255f47bd.md

latest1.8 KB
Original Source

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

csharp
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:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
NewValueGets the new value.
OldValueGets the old value.

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

DXToggleButton Class

DXToggleButton Members

DevExpress.Maui.Core Namespace