28 references to TimeState
PresentationCore (28)
System\Windows\Media\Animation\Clock.cs (1)
3881return (_timeManager != null) && (_timeManager.State != TimeState.Stopped);
System\Windows\Media\Animation\TimeManager.cs (27)
75_timeState = TimeState.Stopped; 76_lastTimeState = TimeState.Stopped; 132if (_timeState == TimeState.Stopped) 171if (_timeState == TimeState.Running) 177_timeState = TimeState.Paused; 194TimeState oldState = _timeState; 204if (_timeState == TimeState.Paused) 221if (_timeState == TimeState.Paused) 227_timeState = TimeState.Running; 258if (_timeState >= TimeState.Paused) 308if (_timeState == TimeState.Stopped) 316_timeState = TimeState.Running; 333if (_timeState >= TimeState.Paused) 336_timeState = TimeState.Stopped; 372if (_timeState == TimeState.Running) 386if (_lastTimeState == TimeState.Stopped && _timeState == TimeState.Stopped) // We were stopped the whole time 395if (_lastTimeState == TimeState.Stopped || _timeState == TimeState.Stopped) 563case TimeState.Stopped: 568case TimeState.Paused: 574case TimeState.Running: 738return (_timeState == TimeState.Stopped); 773if (_timeState == TimeState.Running) 848internal TimeState State 900private TimeState _timeState; 901private TimeState _lastTimeState;