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