AnimationTimeline.AllocateClock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.