편집

다음을 통해 공유


ClockGroup Class

Definition

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

public ref class ClockGroup : System::Windows::Media::Animation::Clock
public class ClockGroup : System.Windows.Media.Animation.Clock
type ClockGroup = class
    inherit Clock
Public Class ClockGroup
Inherits Clock
Inheritance

Constructors

ClockGroup(TimelineGroup)

Instantiates a new instance of the ClockGroup class.

Properties

Children

Gets the children collection of this ClockGroup.

Controller

Gets a ClockController that can be used to start, pause, resume, seek, skip, stop, or remove this Clock.

(Inherited from Clock)
CurrentGlobalSpeed

Gets the rate at which the clock's time is currently progressing, compared to real-world time.

(Inherited from Clock)
CurrentGlobalTime

Gets the current global time, as established by the WPF timing system.

(Inherited from Clock)
CurrentIteration

Get the current iteration of this clock.

(Inherited from Clock)
CurrentProgress

Gets the current progress of this Clock within its current iteration.

(Inherited from Clock)
CurrentState

Gets a value indicating whether the clock is currently Active, Filling, or Stopped.

(Inherited from Clock)
CurrentTime

Gets this clock's current time within its current iteration.

(Inherited from Clock)
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.

(Inherited from Clock)
IsPaused

Gets a value that indicates whether this Clock, or any of its parents, is paused.

(Inherited from Clock)
NaturalDuration

Gets the natural duration of this clock's Timeline.

(Inherited from Clock)
Parent

Gets the clock that is the parent of this clock.

(Inherited from Clock)
Timeline

Gets the TimelineGroup object that dictates the behavior of this ClockGroup instance.

Methods

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.

(Inherited from Clock)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCanSlip()

Returns whether the Clock has its own external time source, which may require synchronization with the timing system.

(Inherited from Clock)
GetCurrentTimeCore()

Gets this clock's current time within its current iteration.

(Inherited from Clock)
GetHashCode()

Serves as the default hash function.

(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.

(Inherited from Clock)
Stopped()

When implemented in a derived class, will be invoked whenever a clock is stopped using the Stop() method.

(Inherited from 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)

Events

Completed

Occurs when this clock has completely finished playing.

(Inherited from Clock)
CurrentGlobalSpeedInvalidated

Occurs when the clock's speed is updated.

(Inherited from Clock)
CurrentStateInvalidated

Occurs when the clock's CurrentState property is updated.

(Inherited from Clock)
CurrentTimeInvalidated

Occurs when this clock's CurrentTime becomes invalid.

(Inherited from Clock)
RemoveRequested

Occurs when the Remove() method is called on this Clock or one of its parent clocks.

(Inherited from Clock)

Applies to

See also