28 references to Automatic
PresentationCore (28)
Core\CSharp\System\Windows\Duration.cs (2)
91
return Duration.
Automatic
;
125
return Duration.
Automatic
;
Core\CSharp\System\Windows\DurationConverter.cs (2)
76
return Duration.
Automatic
;
135
Debug.Assert(durationValue == Duration.
Automatic
); // Only other legal duration type
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
281
if (timeout == Duration.
Automatic
)
651
Debug.Assert(timeout != Duration.
Automatic
);
Core\CSharp\System\Windows\Media\Animation\Clock.cs (12)
107
if (_resolvedDuration == Duration.
Automatic
)
762
get { return Duration.
Automatic
; }
1248
return Duration.
Automatic
;
1412
Debug.Assert(_resolvedDuration != Duration.
Automatic
, "_resolvedDuration should never be set to Automatic.");
1960
Debug.Assert(_currentDuration != Duration.
Automatic
, "_currentDuration should never be Automatic.");
2357
Debug.Assert(_currentDuration != Duration.
Automatic
, "_currentDuration should never be Automatic.");
2452
if (duration != Duration.
Automatic
)
2467
if (_currentDuration == Duration.
Automatic
)
2493
Debug.Assert(_resolvedDuration != Duration.
Automatic
, "_resolvedDuration should never be Automatic.");
2494
Debug.Assert(_currentDuration != Duration.
Automatic
, "_currentDuration should never be Automatic.");
3241
Debug.Assert(syncClockDuration == Duration.
Automatic
);
4107
private Duration _syncClockResolvedDuration = Duration.
Automatic
; // Duration -- *local* coordinates
Core\CSharp\System\Windows\Media\Animation\ClockGroup.cs (3)
341
if (manualDuration != Duration.
Automatic
)
369
else if (childEndOfActivePeriod == Duration.
Automatic
)
398
return Duration.
Automatic
;
Core\CSharp\System\Windows\Media\Animation\ParallelTimeline.cs (2)
117
else if (childEndOfActivePeriod == Duration.
Automatic
)
136
return Duration.
Automatic
;
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (2)
419
Duration.
Automatic
,
714
return Duration.
Automatic
;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
278
if (timeout == Duration.
Automatic
)
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
500
return Duration.
Automatic
;
Core\CSharp\System\Windows\Media\MediaTimeline.cs (1)
245
return Duration.
Automatic
;