Export (0) Print
Expand All

Timeline.AllocateClock Method

Creates a Clock for this Timeline.

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

'Declaration
Protected Friend Overridable Function AllocateClock As Clock

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft