Sets the desired frame rate of the specified Timeline.
Namespace:
System.Windows.Media.Animation
Assembly:
PresentationCore (in PresentationCore.dll)
Visual Basic (Declaration)
Public Shared Sub SetDesiredFrameRate ( _
timeline As Timeline, _
desiredFrameRate As Nullable(Of Integer) _
)
Dim timeline As Timeline
Dim desiredFrameRate As Nullable(Of Integer)
Timeline.SetDesiredFrameRate(timeline, _
desiredFrameRate)
public static void SetDesiredFrameRate(
Timeline timeline,
Nullable<int> desiredFrameRate
)
public:
static void SetDesiredFrameRate(
Timeline^ timeline,
Nullable<int> desiredFrameRate
)
public static function SetDesiredFrameRate(
timeline : Timeline,
desiredFrameRate : Nullable<int>
)
You cannot use methods in XAML.
This method sets the DesiredFrameRate attached property. For more information, see the DesiredFrameRate page.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Framework
Supported in: 3.5, 3.0
Reference