Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Media.Animation Namespace / AnimationRate Structure / Duration Property


In This Topic
    Duration Property (AnimationRate)
    In This Topic
    Returns the TimeSpan value that this AnimationRate represents.
    Syntax
    'Declaration
     
    Public ReadOnly Property Duration As TimeSpan
    'Usage
     
    Dim instance As AnimationRate
    Dim value As TimeSpan
     
    value = instance.Duration
    public TimeSpan Duration {get;}

    Property Value

    The TimeSpan value that this AnimationRate represents.
    Exceptions
    ExceptionDescription
    Thrown if this AnimationRate represents a Speed.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also