22 references to Forever
PresentationCore (22)
System\Windows\Duration.cs (2)
80
return Duration.
Forever
;
107
return Duration.
Forever
;
System\Windows\DurationConverter.cs (2)
76
return Duration.
Forever
;
118
else if (durationValue == Duration.
Forever
)
System\Windows\InterOp\D3DImage.cs (2)
225
LockImpl(Duration.
Forever
);
593
if (timeout == Duration.
Forever
)
System\Windows\Media\Animation\Clock.cs (9)
98
_resolvedDuration = Duration.
Forever
;
1251
return Duration.
Forever
;
2171
Debug.Assert(_currentDuration == Duration.
Forever
, "_currentDuration has an invalid enum value.");
2416
Debug.Assert(_currentDuration == Duration.
Forever
, "_currentDuration has an invalid enum value.");
2444
Debug.Assert(_resolvedDuration == Duration.
Forever
, "_resolvedDuration should be Forever when NaturalDuration is Automatic.");
2453
_currentDuration = Duration.
Forever
; // We treat Automatic as unresolved current duration
2494
else if (_currentDuration == Duration.
Forever
)
2580
postFillDuration = Duration.
Forever
;
3216
else if (syncClockDuration == Duration.
Forever
)
System\Windows\Media\Animation\ClockGroup.cs (2)
355
if (childEndOfActivePeriod == Duration.
Forever
)
360
return Duration.
Forever
;
System\Windows\Media\Animation\ParallelTimeline.cs (2)
104
if (childEndOfActivePeriod == Duration.
Forever
)
109
return Duration.
Forever
;
System\Windows\Media\Animation\TimeManager.cs (1)
67
ParallelTimeline timeManagerTimeline = new ParallelTimeline(new TimeSpan(0), Duration.
Forever
);
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
210
bool locked = TryLock(Duration.
Forever
);
233
else if (timeout == Duration.
Forever
)