22 references to Forever
PresentationCore (22)
System\Windows\Duration.cs (2)
84
return Duration.
Forever
;
111
return Duration.
Forever
;
System\Windows\DurationConverter.cs (2)
79
return Duration.
Forever
;
121
else if (durationValue == Duration.
Forever
)
System\Windows\InterOp\D3DImage.cs (2)
237
LockImpl(Duration.
Forever
);
605
if (timeout == Duration.
Forever
)
System\Windows\Media\Animation\Clock.cs (9)
111
_resolvedDuration = Duration.
Forever
;
1264
return Duration.
Forever
;
2184
Debug.Assert(_currentDuration == Duration.
Forever
, "_currentDuration has an invalid enum value.");
2429
Debug.Assert(_currentDuration == Duration.
Forever
, "_currentDuration has an invalid enum value.");
2457
Debug.Assert(_resolvedDuration == Duration.
Forever
, "_resolvedDuration should be Forever when NaturalDuration is Automatic.");
2466
_currentDuration = Duration.
Forever
; // We treat Automatic as unresolved current duration
2507
else if (_currentDuration == Duration.
Forever
)
2593
postFillDuration = Duration.
Forever
;
3229
else if (syncClockDuration == Duration.
Forever
)
System\Windows\Media\Animation\ClockGroup.cs (2)
360
if (childEndOfActivePeriod == Duration.
Forever
)
365
return Duration.
Forever
;
System\Windows\Media\Animation\ParallelTimeline.cs (2)
109
if (childEndOfActivePeriod == Duration.
Forever
)
114
return Duration.
Forever
;
System\Windows\Media\Animation\TimeManager.cs (1)
81
ParallelTimeline timeManagerTimeline = new ParallelTimeline(new TimeSpan(0), Duration.
Forever
);
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
227
bool locked = TryLock(Duration.
Forever
);
250
else if (timeout == Duration.
Forever
)