28 references to DurationType
PresentationCore (28)
System\Windows\Duration.cs (28)
18
private readonly
DurationType
_durationType;
29
_durationType =
DurationType
.TimeSpan;
37
private Duration(
DurationType
durationType)
39
Debug.Assert(durationType ==
DurationType
.Automatic || durationType ==
DurationType
.Forever);
81
else if (t1._durationType !=
DurationType
.Automatic
82
&& t2._durationType !=
DurationType
.Automatic)
109
else if (t1._durationType ==
DurationType
.Forever
169
else if (t1.HasTimeSpan && t2._durationType ==
DurationType
.Forever)
174
else if (t1._durationType ==
DurationType
.Forever && t2.HasTimeSpan)
199
if (t1._durationType ==
DurationType
.Automatic && t2._durationType ==
DurationType
.Automatic)
204
else if (t1._durationType ==
DurationType
.Automatic || t2._durationType ==
DurationType
.Automatic)
230
else if (t1.HasTimeSpan && t2._durationType ==
DurationType
.Forever)
235
else if (t1._durationType ==
DurationType
.Forever && t2.HasTimeSpan)
260
if (t1._durationType ==
DurationType
.Automatic && t2._durationType ==
DurationType
.Automatic)
265
else if (t1._durationType ==
DurationType
.Automatic || t2._durationType ==
DurationType
.Automatic)
295
if (t1._durationType ==
DurationType
.Automatic)
297
if (t2._durationType ==
DurationType
.Automatic)
306
else if (t2._durationType ==
DurationType
.Automatic)
359
return _durationType ==
DurationType
.TimeSpan;
371
return new Duration(
DurationType
.Automatic);
383
return new Duration(
DurationType
.Forever);
494
if (_durationType ==
DurationType
.Forever)
496
else if (_durationType ==
DurationType
.Automatic)