28 references to TimeState
PresentationCore (28)
System\Windows\Media\Animation\Clock.cs (1)
3868return (_timeManager != null) && (_timeManager.State != TimeState.Stopped);
System\Windows\Media\Animation\TimeManager.cs (27)
61_timeState = TimeState.Stopped; 62_lastTimeState = TimeState.Stopped; 118if (_timeState == TimeState.Stopped) 157if (_timeState == TimeState.Running) 163_timeState = TimeState.Paused; 180TimeState oldState = _timeState; 190if (_timeState == TimeState.Paused) 207if (_timeState == TimeState.Paused) 213_timeState = TimeState.Running; 244if (_timeState >= TimeState.Paused) 294if (_timeState == TimeState.Stopped) 302_timeState = TimeState.Running; 319if (_timeState >= TimeState.Paused) 322_timeState = TimeState.Stopped; 358if (_timeState == TimeState.Running) 372if (_lastTimeState == TimeState.Stopped && _timeState == TimeState.Stopped) // We were stopped the whole time 381if (_lastTimeState == TimeState.Stopped || _timeState == TimeState.Stopped) 549case TimeState.Stopped: 554case TimeState.Paused: 560case TimeState.Running: 724return (_timeState == TimeState.Stopped); 759if (_timeState == TimeState.Running) 834internal TimeState State 886private TimeState _timeState; 887private TimeState _lastTimeState;