Export (0) Print
Expand All

AnimationTimeline.AllocateClock Method

Creates a Clock for this AnimationTimeline.

Namespace:  System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

protected internal override Clock AllocateClock()
You cannot use methods in XAML.

Return Value

Type: System.Windows.Media.Animation.Clock
A clock for this AnimationTimeline.

This method is called by the CreateClock method and should not be called directly by your code.

Notes to Implementers:

Implementers of AnimationTimeline should override this method when it has a corresponding custom clock that should be used with the class. The overridden method should create and return a new instance of class that inherits from Clock.

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

Community Additions

ADD
Show:
© 2014 Microsoft