AnimationTimeline.AllocateClock Method

Definition

Creates a Clock for this AnimationTimeline.

C#
protected internal override System.Windows.Media.Animation.Clock AllocateClock();

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10