Clock.CurrentState 屬性

定義

取得值,指出時鐘目前為 ActiveFillingStoppedGets 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

屬性值

時鐘的目前狀態:ActiveFillingStoppedThe current state of the clock: Active, Filling, or Stopped.

備註

請注意, 時鐘CurrentState的屬性不會告訴您它是否已暫停。Note the clock's CurrentState property doesn't tell you whether it's paused. 若要判斷時鐘是否已暫停, 請使用IsPaused屬性。To determine whether a clock is paused, use the IsPaused property.

CurrentStateInvalidated這個屬性的值變更時, 就會發生。The CurrentStateInvalidated occurs whenever the value of this property changes.

適用於

另請參閱