Clock Members
.NET Framework 3.5
Maintains run-time timing state for a Timeline.
The Clock type exposes the following members.
| Name | Description | |
|---|---|---|
|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
|
DiscontinuousTimeMovement | When implemented in a derived class, will be invoked whenever a clock repeats, skips, or seeks. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetCanSlip | Returns whether the Clock has its own external time source, which may require synchronization with the timing system. |
|
GetCurrentTimeCore | Gets this clock's current time within its current iteration. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SpeedChanged | When implemented in a derived class, will be invoked whenever a clock begins, skips, pauses, resumes, or when the clock's SpeedRatio is modified. |
|
Stopped | When implemented in a derived class, will be invoked whenever a clock is stopped using the Stop method. |
|
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.) |
| Name | Description | |
|---|---|---|
|
Controller | Gets a ClockController that can be used to start, pause, resume, seek, skip, stop, or remove this Clock. |
|
CurrentGlobalSpeed | Gets the rate at which the clock's time is currently progressing, compared to real-world time. |
|
CurrentGlobalTime | Gets the current global time, as established by the WPF timing system. |
|
CurrentIteration | Get the current iteration of this clock. |
|
CurrentProgress | Gets the current progress of this Clock within its current iteration. |
|
CurrentState | Gets a value indicating whether the clock is currently Active, Filling, or Stopped. |
|
CurrentTime | Gets this clock's current time within its current iteration. |
|
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
|
HasControllableRoot | Gets a value that indicates whether this Clock is part of a controllable clock tree. |
|
IsPaused | Gets a value that indicates whether this Clock, or any of its parents, is paused. |
|
NaturalDuration | Gets the natural duration of this clock's Timeline. |
|
Parent | Gets the clock that is the parent of this clock. |
|
Timeline | Gets the Timeline from which this Clock was created. |
| Name | Description | |
|---|---|---|
|
Completed | Occurs when this clock has completely finished playing. |
|
CurrentGlobalSpeedInvalidated | Occurs when the clock's speed is updated. |
|
CurrentStateInvalidated | Occurs when the clock's CurrentState property is updated. |
|
CurrentTimeInvalidated | Occurs when this clock's CurrentTime becomes invalid. |
|
RemoveRequested | Occurs when the Remove method is called on this Clock or one of its parent clocks. |