Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Clock.CurrentState Property


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

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

public ClockState CurrentState { get; }

Property Value

Type: System.Windows.Media.Animation.ClockState

The current state of the clock: Active, Filling, or Stopped.

Note the clock's CurrentState property doesn't tell you whether it's paused. To determine whether a clock is paused, use the IsPaused property.

The CurrentStateInvalidated occurs whenever the value of this property changes.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft