Back to Devexpress

Badge.AnimationDuration Property

wpf-devexpress-dot-xpf-dot-core-dot-badge-9f2cac80.md

latest1.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public int AnimationDuration { get; set; }
vb
Public Property AnimationDuration As Integer

Property Value

TypeDescription
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:

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

See Also

Badge Class

Badge Members

DevExpress.Xpf.Core Namespace