29 references to Automatic
PresentationCore (29)
System\Windows\Duration.cs (2)
89
return Duration.
Automatic
;
123
return Duration.
Automatic
;
System\Windows\DurationConverter.cs (2)
75
return Duration.
Automatic
;
129
Debug.Assert(durationValue == Duration.
Automatic
); // Only other legal duration type
System\Windows\InterOp\D3DImage.cs (2)
248
if (timeout == Duration.
Automatic
)
594
Debug.Assert(timeout != Duration.
Automatic
);
System\Windows\Media\Animation\Clock.cs (12)
105
if (_resolvedDuration == Duration.
Automatic
)
759
get { return Duration.
Automatic
; }
1245
return Duration.
Automatic
;
1409
Debug.Assert(_resolvedDuration != Duration.
Automatic
, "_resolvedDuration should never be set to Automatic.");
1957
Debug.Assert(_currentDuration != Duration.
Automatic
, "_currentDuration should never be Automatic.");
2354
Debug.Assert(_currentDuration != Duration.
Automatic
, "_currentDuration should never be Automatic.");
2449
if (duration != Duration.
Automatic
)
2464
if (_currentDuration == Duration.
Automatic
)
2490
Debug.Assert(_resolvedDuration != Duration.
Automatic
, "_resolvedDuration should never be Automatic.");
2491
Debug.Assert(_currentDuration != Duration.
Automatic
, "_currentDuration should never be Automatic.");
3236
Debug.Assert(syncClockDuration == Duration.
Automatic
);
4100
private Duration _syncClockResolvedDuration = Duration.
Automatic
; // Duration -- *local* coordinates
System\Windows\Media\Animation\ClockGroup.cs (3)
339
if (manualDuration != Duration.
Automatic
)
367
else if (childEndOfActivePeriod == Duration.
Automatic
)
396
return Duration.
Automatic
;
System\Windows\Media\Animation\ParallelTimeline.cs (2)
116
else if (childEndOfActivePeriod == Duration.
Automatic
)
135
return Duration.
Automatic
;
System\Windows\Media\Animation\Timeline.cs (3)
417
Duration.
Automatic
,
712
return Duration.
Automatic
;
1107
if (Duration != Duration.
Automatic
)
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
246
if (timeout == Duration.
Automatic
)
System\Windows\Media\MediaPlayerState.cs (1)
414
return Duration.
Automatic
;
System\Windows\Media\MediaTimeline.cs (1)
244
return Duration.
Automatic
;