Xceed Toolkit Plus for WPF v4.6 Documentation
AnimationRate Constructor(TimeSpan)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Media.Animation Namespace > AnimationRate Structure > AnimationRate Constructor : AnimationRate Constructor(TimeSpan)
The TimeSpan that will serve as the value of the AnimationRate.
Creates an AnimationRate representing a Duration (TimeSpan).
Syntax
'Declaration
 
Public Function New( _

   ByVal duration As TimeSpan _

)
'Usage
 
Dim duration As TimeSpan

 

Dim instance As New AnimationRate(duration)
public AnimationRate( 

   TimeSpan duration

)

Parameters

duration
The TimeSpan that will serve as the value of the AnimationRate.
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

Reference

AnimationRate Structure
AnimationRate Members
Overload List