Xceed Toolkit Plus for WPF v4.6 Documentation
Implicit Type Conversion(AnimationRate,TimeSpan) Operator


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Media.Animation Namespace > AnimationRate Structure > Implicit Type Conversion Operator : Implicit Type Conversion(AnimationRate,TimeSpan) Operator
The TimeSpan that will serve as the value of the AnimationRate.
Implicitly creates an AnimationRate from a TimeSpan.
Syntax
'Declaration
 
Overloads Public Operator Widening CType( _
   ByVal duration As TimeSpan _
) As AnimationRate
'Usage
 
public AnimationRate operator implicit( 
   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