ClockController.Begin Method

Sets the target Clock to begin at the next tick.

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

public void Begin()

This method causes the target Clock to behave as though its Timeline object's BeginTime were set to the time of the next tick. The timeline's actual BeginTime setting is ignored (but not changed).

This method changes the target clock's CurrentState to Active. The Begin method does not resume a paused clock.

This method has no effect on the timing tree until the next time a tick is processed. As a side-effect, the appropriate events will also not be raised until then. Calling this method triggers the CurrentStateInvalidated and CurrentGlobalSpeedInvalidated events.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft