Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: 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:Badge.Badge>
        <dx:Badge Content="10" AnimationDuration="500" />
      </dx:Badge.Badge>
    </dx:SimpleButton>
    
    See Also