Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public int AnimationDuration { get; set; }

Property Value

Type Description
Int32

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

Remarks

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

WPF Badges - Animation Duration

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