15 references to Active
PresentationCore (13)
System\Windows\Media\Animation\Clock.cs (11)
1963
Debug.Assert(_currentClockState != ClockState.
Active
);
2141
if (_currentClockState == ClockState.
Active
&& parentSpeed != 0 && !NeedsTicksWhenActive)
2172
Debug.Assert(_currentClockState == ClockState.
Active
2291
_currentClockState = ClockState.
Active
;
2295
if (parentSpeed != 0 && _currentClockState == ClockState.
Active
&& NeedsTicksWhenActive)
2310
Debug.Assert(_currentClockState == ClockState.
Active
); // Must be active at this point
2377
if (_currentClockState == ClockState.
Active
2378
&& _parent._currentClockState == ClockState.
Active
)
2401
if (_currentClockState == ClockState.
Active
2402
&& _parent._currentClockState == ClockState.
Active
)
2423
return (_currentClockState != ClockState.
Active
); // Proceed to calculate global speed if we are active
System\Windows\Media\Animation\ClockGroup.cs (2)
195
if (currentClock != null && currentClock.CurrentState == ClockState.
Active
)
423
InternalCurrentClockState = ClockState.
Active
;
PresentationFramework (2)
System\windows\Documents\CaretElement.cs (2)
592
if (_blinkAnimationClock.CurrentState == ClockState.
Active
)
940
if (visible && (!(_blinkAnimationClock.CurrentState == ClockState.
Active
) || positionChanged))