wpf-devexpress-dot-xpf-dot-editors-dot-toggleswitchedit-3d2e1fa7.md
Gets or sets a value that specifies when the toggle flip is animated. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public ToggleSwitchAnimationMode AnimationMode { get; set; }
Public Property AnimationMode As ToggleSwitchAnimationMode
| Type | Description |
|---|---|
| ToggleSwitchAnimationMode |
A ToggleSwitchAnimationMode enumeration value that specifies when the toggle flip is animated.
|
Available values:
| Name | Description |
|---|---|
| Always |
The toggle flip is animated when the control is toggled by an end-user and in code.
| | OnToggle |
The toggle flip is animated when the control is toggled by an end-user.
|
Set the ToggleSwitchEdit.EnableAnimation property to true to enable the toggle flip animation.
When the animation is enabled, you can specify the situation when the toggle flip should be animated.
See Also