Skip to main content

Badge.AnimationDuration Property

Get or sets the BadgeControl‘s fade-in and fade-out animation duration. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core


public int AnimationDuration { get; set; }

Property Value

Type Description

A System.Int32 value that is the animation duration in milliseconds.


The following code sample sets the BadgeControl‘s animation duration to 500ms:

WPF Badges - Animation Duration

<dx:SimpleButton ...>
    <dx:Badge Content="10" AnimationDuration="500" />
See Also