AllocateClock Method

AnimationTimeline.AllocateClock Method ()


Creates a Clock for this AnimationTimeline.

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

protected internal override Clock AllocateClock()

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.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft