Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Clock.CurrentState Property

Definition

Namespace:
System.Windows.Media.Animation
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?