ToggleSwitch.EnableAnimation Property
Gets or sets whether the toggle flip animation is enabled. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | True to enable the flip animation; otherwise, false. |
Remarks
Set the EnableAnimation property to false to disable the toggle flip animation.
When the animation is enabled, you can control when the toggle flip should be animated:
- when the control’s value is changed by an end user (AnimationMode is set to OnToggle)
- always when the control’s value is changed (by an end user or in code) (AnimationMode is set to Always)
See Also