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