122 writes to Duration
PresentationCore (68)
System\Windows\Media\Animation\Generated\ByteAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\ColorAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\DecimalAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\DoubleAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\Int16Animation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\Int32Animation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\Int64Animation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\Point3DAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\PointAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\RectAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\SingleAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\SizeAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Generated\VectorAnimation.cs (4)
109
Duration
= duration;
121
Duration
= duration;
135
Duration
= duration;
148
Duration
= duration;
System\Windows\Media\Animation\Timeline.cs (2)
84
Duration
= duration;
103
Duration
= duration;
System\Windows\Media\MediaTimeline.cs (2)
87
Duration
= duration;
100
Duration
= duration;
PresentationFramework (10)
System\Windows\Controls\ProgressBar.cs (1)
257
animation.
Duration
= new Duration(translateTime + pauseTime);
System\windows\Documents\CaretElement.cs (1)
917
blinkAnimation.
Duration
= blinkDuration;
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (4)
108
Duration
= duration;
120
Duration
= duration;
134
Duration
= duration;
147
Duration
= duration;
System\Windows\VisualStateManager.cs (4)
371
dynamic.
Duration
= transition.GeneratedDuration;
378
dynamic.
Duration
= new Duration(TimeSpan.Zero);
404
toAnimation.
Duration
= dynamic.Duration;
418
fromAnimation.
Duration
= dynamic.Duration;
PresentationFramework.Aero (20)
Microsoft\Windows\Themes\BulletChrome.cs (9)
130
da.
Duration
= duration;
143
ca.
Duration
= duration;
188
ca.
Duration
= duration;
272
da.
Duration
= duration;
444
da.
Duration
= duration;
452
ca.
Duration
= duration;
517
da.
Duration
= duration;
523
da.
Duration
= duration;
537
ca.
Duration
= duration;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
159
da.
Duration
= duration;
165
ca.
Duration
= duration;
254
da.
Duration
= duration;
339
da.
Duration
= duration;
351
ca.
Duration
= duration;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
159
da.
Duration
= duration;
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
92
animation.
Duration
= new Duration(translateTime + pauseTime);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
156
da.
Duration
= duration;
163
da.
Duration
= duration;
171
ca.
Duration
= duration;
227
ca.
Duration
= duration;
PresentationFramework.Aero2 (20)
Microsoft\Windows\Themes\BulletChrome.cs (9)
130
da.
Duration
= duration;
143
ca.
Duration
= duration;
188
ca.
Duration
= duration;
272
da.
Duration
= duration;
444
da.
Duration
= duration;
452
ca.
Duration
= duration;
517
da.
Duration
= duration;
523
da.
Duration
= duration;
537
ca.
Duration
= duration;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
159
da.
Duration
= duration;
165
ca.
Duration
= duration;
254
da.
Duration
= duration;
339
da.
Duration
= duration;
351
ca.
Duration
= duration;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
159
da.
Duration
= duration;
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
92
animation.
Duration
= new Duration(translateTime + pauseTime);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
156
da.
Duration
= duration;
163
da.
Duration
= duration;
171
ca.
Duration
= duration;
227
ca.
Duration
= duration;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
110
animation.
Duration
= new Duration(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
110
animation.
Duration
= new Duration(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
110
animation.
Duration
= new Duration(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
110
animation.
Duration
= new Duration(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
30 references to Duration
PresentationCore (25)
System\Windows\Media\Animation\Clock.cs (1)
103
_resolvedDuration = _timeline.
Duration
;
System\Windows\Media\Animation\ClockGroup.cs (1)
338
Duration manualDuration = _timeline.
Duration
; // Check if a duration is specified by the user
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
634
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
634
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
634
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
634
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
634
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
726
Duration duration =
Duration
;
System\Windows\Media\Animation\Timeline.cs (2)
1107
if (
Duration
!= Duration.Automatic)
1110
builder.Append(
Duration
.ToString());
PresentationFramework (5)
System\windows\Documents\CaretElement.cs (1)
910
if (_blinkAnimationClock == null || _blinkAnimationClock.Timeline.
Duration
!= blinkDuration)
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
725
Duration duration =
Duration
;
System\Windows\VisualStateManager.cs (3)
219
(transition.Storyboard == null || transition.Storyboard.
Duration
== DurationZero)))
404
toAnimation.Duration = dynamic.
Duration
;
418
fromAnimation.Duration = dynamic.
Duration
;