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