Edit

Share via


Clock.CurrentState Property

Definition

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

public:
 property System::Windows::Media::Animation::ClockState CurrentState { System::Windows::Media::Animation::ClockState get(); };
public System.Windows.Media.Animation.ClockState CurrentState { get; }
member this.CurrentState : System.Windows.Media.Animation.ClockState
Public ReadOnly Property CurrentState As ClockState

Property Value

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

Remarks

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.

Applies to

See also