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