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.v22.1.dll

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