Timeline.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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.