28 references to DurationType
PresentationCore (28)
System\Windows\Duration.cs (28)
17
private readonly
DurationType
_durationType;
28
_durationType =
DurationType
.TimeSpan;
36
private Duration(
DurationType
durationType)
38
Debug.Assert(durationType ==
DurationType
.Automatic || durationType ==
DurationType
.Forever);
80
else if (t1._durationType !=
DurationType
.Automatic
81
&& t2._durationType !=
DurationType
.Automatic)
108
else if (t1._durationType ==
DurationType
.Forever
168
else if (t1.HasTimeSpan && t2._durationType ==
DurationType
.Forever)
173
else if (t1._durationType ==
DurationType
.Forever && t2.HasTimeSpan)
198
if (t1._durationType ==
DurationType
.Automatic && t2._durationType ==
DurationType
.Automatic)
203
else if (t1._durationType ==
DurationType
.Automatic || t2._durationType ==
DurationType
.Automatic)
229
else if (t1.HasTimeSpan && t2._durationType ==
DurationType
.Forever)
234
else if (t1._durationType ==
DurationType
.Forever && t2.HasTimeSpan)
259
if (t1._durationType ==
DurationType
.Automatic && t2._durationType ==
DurationType
.Automatic)
264
else if (t1._durationType ==
DurationType
.Automatic || t2._durationType ==
DurationType
.Automatic)
294
if (t1._durationType ==
DurationType
.Automatic)
296
if (t2._durationType ==
DurationType
.Automatic)
305
else if (t2._durationType ==
DurationType
.Automatic)
358
return _durationType ==
DurationType
.TimeSpan;
370
return new Duration(
DurationType
.Automatic);
382
return new Duration(
DurationType
.Forever);
493
if (_durationType ==
DurationType
.Forever)
495
else if (_durationType ==
DurationType
.Automatic)