Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Media.Animation Namespace / AnimationRate Structure
Members


In This Topic
    AnimationRate Structure
    In This Topic
    This structure may represent an animation's Duration (TimeSpan) or Speed (double).
    Syntax
    'Declaration
     
    <TypeConverterAttribute(Xceed.Wpf.Toolkit.Media.Animation.AnimationRateConverter)>
    Public Structure AnimationRate 
       Inherits System.ValueType
    'Usage
     
    Dim instance As AnimationRate
    [TypeConverter(Xceed.Wpf.Toolkit.Media.Animation.AnimationRateConverter)]
    public struct AnimationRate : System.ValueType 
    Inheritance Hierarchy

    System.Object
       System.ValueType
          Xceed.Wpf.Toolkit.Media.Animation.AnimationRate

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)Indicates an unset AnimationRate value.  
    Public PropertyReturns the TimeSpan value that this AnimationRate represents.  
    Public PropertyIndicates whether this AnimationRate is a TimeSpan value.  
    Public PropertyIndicates whether this AnimationRate is a Speed value.  
    Public PropertyReturns the Speed value that this AnimationRate represents.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds the specified AnimationRate to this instance.  
    Public Methodstatic (Shared in Visual Basic)Compares one AnimationRate value to another.  
    Public MethodOverloaded. Indicates whether the specified Object is equal to this AnimationRate.  
    Public MethodReturns a hash code for this instance.  
    Public Methodstatic (Shared in Visual Basic)Returns the specified instance of AnimationRate.  
    Public MethodSubtracts the specified AnimationRate from this instance.  
    Public MethodCreates a string representation of this AnimationRate.  
    Top
    Public Operators
    Adds two AnimationRates together.
    Indicates whether two AnimationRates are equal.
    Indicates whether one AnimationRate is greater than another.
    Indicates whether one AnimationRate is greater than or equal to another.
    Overloaded. Implicitly creates an AnimationRate from a TimeSpan.
    Indicates whether two AnimationRates are not equal.
    Indicates whether one AnimationRate is less than another.
    Indicates whether one AnimationRate is less than or equal to another.
    Subracts one AnimationRate from another.
    Returns the specified instance of AnimationRate.
    Top
    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