ClockController Class
Interactively controls a Clock.
Assembly: PresentationCore (in PresentationCore.dll)
System.Windows.Threading.DispatcherObject
System.Windows.Media.Animation.ClockController
| Name | Description | |
|---|---|---|
![]() | Clock | Gets the Clock controlled by this ClockController. |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | SpeedRatio | Gets or sets the interactive speed of the target Clock. |
| Name | Description | |
|---|---|---|
![]() | Begin() | Sets the target Clock to begin at the next tick. |
![]() | CheckAccess() | Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Pause() | Stops the target Clock from progressing. |
![]() | Remove() | Removes the Clock associated with this ClockController from the properties it animates. The clock and its child clocks will no longer affect these properties. |
![]() | Resume() | Enables a Clock that was previously paused to resume progressing. |
![]() | Seek(TimeSpan, TimeSeekOrigin) | Seeks the target Clock by the specified amount when the next tick occurs. If the target clock is stopped, seeking makes it active again. |
![]() | SeekAlignedToLastTick(TimeSpan, TimeSeekOrigin) | Seeks the target Clock by the specified amount immediately. If the target clock is stopped, seeking makes it active again. |
![]() | SkipToFill() | Advances the current time of the target Clock to the end of its active period. |
![]() | Stop() | Stops the target Clock. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | VerifyAccess() | Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
Use a ClockController to interactively begin, pause, resume, seek, skip, stop, and remove a Clock. You can only interactively control root-level clocks.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

