29 references to Automatic
PresentationCore (29)
System\Windows\Duration.cs (2)
85return Duration.Automatic; 119return Duration.Automatic;
System\Windows\DurationConverter.cs (2)
72return Duration.Automatic; 126Debug.Assert(durationValue == Duration.Automatic); // Only other legal duration type
System\Windows\InterOp\D3DImage.cs (2)
236if (timeout == Duration.Automatic) 582Debug.Assert(timeout != Duration.Automatic);
System\Windows\Media\Animation\Clock.cs (12)
92if (_resolvedDuration == Duration.Automatic) 746get { return Duration.Automatic; } 1232return Duration.Automatic; 1396Debug.Assert(_resolvedDuration != Duration.Automatic, "_resolvedDuration should never be set to Automatic."); 1944Debug.Assert(_currentDuration != Duration.Automatic, "_currentDuration should never be Automatic."); 2341Debug.Assert(_currentDuration != Duration.Automatic, "_currentDuration should never be Automatic."); 2436if (duration != Duration.Automatic) 2451if (_currentDuration == Duration.Automatic) 2477Debug.Assert(_resolvedDuration != Duration.Automatic, "_resolvedDuration should never be Automatic."); 2478Debug.Assert(_currentDuration != Duration.Automatic, "_currentDuration should never be Automatic."); 3223Debug.Assert(syncClockDuration == Duration.Automatic); 4087private Duration _syncClockResolvedDuration = Duration.Automatic; // Duration -- *local* coordinates
System\Windows\Media\Animation\ClockGroup.cs (3)
334if (manualDuration != Duration.Automatic) 362else if (childEndOfActivePeriod == Duration.Automatic) 391return Duration.Automatic;
System\Windows\Media\Animation\ParallelTimeline.cs (2)
111else if (childEndOfActivePeriod == Duration.Automatic) 130return Duration.Automatic;
System\Windows\Media\Animation\Timeline.cs (3)
407Duration.Automatic, 702return Duration.Automatic; 1097if (Duration != Duration.Automatic)
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
229if (timeout == Duration.Automatic)
System\Windows\Media\MediaPlayerState.cs (1)
393return Duration.Automatic;
System\Windows\Media\MediaTimeline.cs (1)
229return Duration.Automatic;