Export (0) Print
Expand All

Timeline.AllocateClock Method

Creates a Clock for this Timeline.

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

protected internal virtual Clock AllocateClock ()
protected Clock AllocateClock ()
protected internal function AllocateClock () : Clock
You cannot use methods in XAML.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft