Editar

Compartir a través de


Timeline.AllocateClock Method

Definition

Creates a Clock for this Timeline.

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

Returns

A clock for this Timeline.

Remarks

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

Notes to Inheritors

Implementers of Timeline 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