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


In This Topic
    AnimationRate Structure
    In This Topic
    This structure may represent an animation's Duration (TimeSpan) or Speed (double).
    Object Model
    AnimationRate StructureAnimationRate StructureAnimationRate StructureAnimationRate StructureAnimationRate Structure
    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
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also