Muokkaa

Jaa


AnimationTimeline.AllocateClock Method

Definition

Creates a Clock for this AnimationTimeline.

protected public:
 override System::Windows::Media::Animation::Clock ^ AllocateClock();
protected internal override System.Windows.Media.Animation.Clock AllocateClock ();
override this.AllocateClock : unit -> System.Windows.Media.Animation.Clock
Protected Friend Overrides Function AllocateClock () As Clock

Returns

A clock for this AnimationTimeline.

Remarks

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

Notes to Inheritors

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.

Applies to