15 references to Active
PresentationCore (13)
System\Windows\Media\Animation\Clock.cs (11)
1976
Debug.Assert(_currentClockState != ClockState.
Active
);
2154
if (_currentClockState == ClockState.
Active
&& parentSpeed != 0 && !NeedsTicksWhenActive)
2185
Debug.Assert(_currentClockState == ClockState.
Active
2304
_currentClockState = ClockState.
Active
;
2308
if (parentSpeed != 0 && _currentClockState == ClockState.
Active
&& NeedsTicksWhenActive)
2323
Debug.Assert(_currentClockState == ClockState.
Active
); // Must be active at this point
2390
if (_currentClockState == ClockState.
Active
2391
&& _parent._currentClockState == ClockState.
Active
)
2414
if (_currentClockState == ClockState.
Active
2415
&& _parent._currentClockState == ClockState.
Active
)
2436
return (_currentClockState != ClockState.
Active
); // Proceed to calculate global speed if we are active
System\Windows\Media\Animation\ClockGroup.cs (2)
200
if (currentClock != null && currentClock.CurrentState == ClockState.
Active
)
428
InternalCurrentClockState = ClockState.
Active
;
PresentationFramework (2)
System\windows\Documents\CaretElement.cs (2)
596
if (_blinkAnimationClock.CurrentState == ClockState.
Active
)
940
if (visible && (!(_blinkAnimationClock.CurrentState == ClockState.
Active
) || positionChanged))