ClockGroup Class

An assemblage of Clock types with behavior based off of a TimelineGroup.

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

public class ClockGroup : Clock

The ClockGroup type exposes the following members.

  NameDescription
Protected methodClockGroupInstantiates a new instance of the ClockGroup class.
Top

  NameDescription
Public propertyChildrenGets the children collection of this ClockGroup.
Public propertyControllerGets a ClockController that can be used to start, pause, resume, seek, skip, stop, or remove this Clock. (Inherited from Clock.)
Public propertyCurrentGlobalSpeedGets the rate at which the clock's time is currently progressing, compared to real-world time. (Inherited from Clock.)
Protected propertyCurrentGlobalTimeGets the current global time, as established by the WPF timing system.  (Inherited from Clock.)
Public propertyCurrentIterationGet the current iteration of this clock. (Inherited from Clock.)
Public propertyCurrentProgressGets the current progress of this Clock within its current iteration. (Inherited from Clock.)
Public propertyCurrentStateGets a value indicating whether the clock is currently Active, Filling, or Stopped. (Inherited from Clock.)
Public propertyCurrentTimeGets this clock's current time within its current iteration. (Inherited from Clock.)
Public propertyDispatcherGets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public propertyHasControllableRootGets a value that indicates whether this Clock is part of a controllable clock tree. (Inherited from Clock.)
Public propertyIsPausedGets a value that indicates whether this Clock, or any of its parents, is paused. (Inherited from Clock.)
Public propertyNaturalDurationGets the natural duration of this clock's Timeline. (Inherited from Clock.)
Public propertyParentGets the clock that is the parent of this clock. (Inherited from Clock.)
Public propertyTimelineGets the TimelineGroup object that dictates the behavior of this ClockGroup instance.
Top

  NameDescription
Public methodCheckAccessDetermines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Protected methodDiscontinuousTimeMovementWhen implemented in a derived class, will be invoked whenever a clock repeats, skips, or seeks. (Inherited from Clock.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetCanSlipReturns whether the Clock has its own external time source, which may require synchronization with the timing system. (Inherited from Clock.)
Protected methodGetCurrentTimeCoreGets this clock's current time within its current iteration. (Inherited from Clock.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSpeedChangedWhen implemented in a derived class, will be invoked whenever a clock begins, skips, pauses, resumes, or when the clock's SpeedRatio is modified. (Inherited from Clock.)
Protected methodStoppedWhen implemented in a derived class, will be invoked whenever a clock is stopped using the Stop method. (Inherited from Clock.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodVerifyAccessEnforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top

  NameDescription
Public eventCompletedOccurs when this clock has completely finished playing. (Inherited from Clock.)
Public eventCurrentGlobalSpeedInvalidatedOccurs when the clock's speed is updated. (Inherited from Clock.)
Public eventCurrentStateInvalidatedOccurs when the clock's CurrentState property is updated. (Inherited from Clock.)
Public eventCurrentTimeInvalidatedOccurs when this clock's CurrentTime becomes invalid. (Inherited from Clock.)
Public eventRemoveRequestedOccurs when the Remove method is called on this Clock or one of its parent clocks. (Inherited from Clock.)
Top

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft