Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Timeline.AllocateClock Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a Clock for this Timeline.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

protected internal virtual Clock AllocateClock()

Return Value

Type: System.Windows.Media.Animation.Clock

A clock for this Timeline.

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

Notes to Implementers:

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft