22 references to Forever
PresentationCore (22)
Core\CSharp\System\Windows\Duration.cs (2)
86
return Duration.
Forever
;
113
return Duration.
Forever
;
Core\CSharp\System\Windows\DurationConverter.cs (2)
80
return Duration.
Forever
;
127
else if (durationValue == Duration.
Forever
)
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
270
LockImpl(Duration.
Forever
);
662
if (timeout == Duration.
Forever
)
Core\CSharp\System\Windows\Media\Animation\Clock.cs (9)
113
_resolvedDuration = Duration.
Forever
;
1267
return Duration.
Forever
;
2187
Debug.Assert(_currentDuration == Duration.
Forever
, "_currentDuration has an invalid enum value.");
2432
Debug.Assert(_currentDuration == Duration.
Forever
, "_currentDuration has an invalid enum value.");
2460
Debug.Assert(_resolvedDuration == Duration.
Forever
, "_resolvedDuration should be Forever when NaturalDuration is Automatic.");
2469
_currentDuration = Duration.
Forever
; // We treat Automatic as unresolved current duration
2510
else if (_currentDuration == Duration.
Forever
)
2596
postFillDuration = Duration.
Forever
;
3234
else if (syncClockDuration == Duration.
Forever
)
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (2)
362
if (childEndOfActivePeriod == Duration.
Forever
)
367
return Duration.
Forever
;
Core\CSharp\System\Windows\Media\Animation\ParallelTimeline.cs (2)
110
if (childEndOfActivePeriod == Duration.
Forever
)
115
return Duration.
Forever
;
Core\CSharp\System\Windows\Media\Animation\TimeManager.cs (1)
84
ParallelTimeline timeManagerTimeline = new ParallelTimeline(new TimeSpan(0), Duration.
Forever
);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
253
bool locked = TryLock(Duration.
Forever
);
282
else if (timeout == Duration.
Forever
)