122 writes to Duration
PresentationCore (68)
System\Windows\Media\Animation\Generated\ByteAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\ColorAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\DecimalAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\DoubleAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\Int16Animation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\Int32Animation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\Int64Animation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\Point3DAnimation.cs (4)
99
Duration
= duration;
111
Duration
= duration;
125
Duration
= duration;
138
Duration
= duration;
System\Windows\Media\Animation\Generated\PointAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (4)
99
Duration
= duration;
111
Duration
= duration;
125
Duration
= duration;
138
Duration
= duration;
System\Windows\Media\Animation\Generated\RectAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (4)
99
Duration
= duration;
111
Duration
= duration;
125
Duration
= duration;
138
Duration
= duration;
System\Windows\Media\Animation\Generated\SingleAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\SizeAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (4)
99
Duration
= duration;
111
Duration
= duration;
125
Duration
= duration;
138
Duration
= duration;
System\Windows\Media\Animation\Generated\VectorAnimation.cs (4)
98
Duration
= duration;
110
Duration
= duration;
124
Duration
= duration;
137
Duration
= duration;
System\Windows\Media\Animation\Timeline.cs (2)
74
Duration
= duration;
93
Duration
= duration;
System\Windows\Media\MediaTimeline.cs (2)
72
Duration
= duration;
85
Duration
= duration;
PresentationFramework (10)
System\Windows\Controls\ProgressBar.cs (1)
250
animation.
Duration
= new Duration(translateTime + pauseTime);
System\windows\Documents\CaretElement.cs (1)
914
blinkAnimation.
Duration
= blinkDuration;
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (4)
97
Duration
= duration;
109
Duration
= duration;
123
Duration
= duration;
136
Duration
= duration;
System\Windows\VisualStateManager.cs (4)
366
dynamic.
Duration
= transition.GeneratedDuration;
373
dynamic.
Duration
= new Duration(TimeSpan.Zero);
399
toAnimation.
Duration
= dynamic.Duration;
413
fromAnimation.
Duration
= dynamic.Duration;
PresentationFramework.Aero (20)
Microsoft\Windows\Themes\BulletChrome.cs (9)
124
da.
Duration
= duration;
137
ca.
Duration
= duration;
182
ca.
Duration
= duration;
266
da.
Duration
= duration;
438
da.
Duration
= duration;
446
ca.
Duration
= duration;
511
da.
Duration
= duration;
517
da.
Duration
= duration;
531
ca.
Duration
= duration;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
150
da.
Duration
= duration;
156
ca.
Duration
= duration;
245
da.
Duration
= duration;
330
da.
Duration
= duration;
342
ca.
Duration
= duration;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
153
da.
Duration
= duration;
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
90
animation.
Duration
= new Duration(translateTime + pauseTime);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
151
da.
Duration
= duration;
158
da.
Duration
= duration;
166
ca.
Duration
= duration;
222
ca.
Duration
= duration;
PresentationFramework.Aero2 (20)
Microsoft\Windows\Themes\BulletChrome.cs (9)
124
da.
Duration
= duration;
137
ca.
Duration
= duration;
182
ca.
Duration
= duration;
266
da.
Duration
= duration;
438
da.
Duration
= duration;
446
ca.
Duration
= duration;
511
da.
Duration
= duration;
517
da.
Duration
= duration;
531
ca.
Duration
= duration;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
150
da.
Duration
= duration;
156
ca.
Duration
= duration;
245
da.
Duration
= duration;
330
da.
Duration
= duration;
342
ca.
Duration
= duration;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
153
da.
Duration
= duration;
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
90
animation.
Duration
= new Duration(translateTime + pauseTime);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
151
da.
Duration
= duration;
158
da.
Duration
= duration;
166
ca.
Duration
= duration;
222
ca.
Duration
= duration;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
108
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)
108
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)
108
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)
108
animation.
Duration
= new Duration(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
30 references to Duration
PresentationCore (25)
System\Windows\Media\Animation\Clock.cs (1)
90
_resolvedDuration = _timeline.
Duration
;
System\Windows\Media\Animation\ClockGroup.cs (1)
333
Duration manualDuration = _timeline.
Duration
; // Check if a duration is specified by the user
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
619
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
618
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
618
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
618
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
712
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
712
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
712
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
618
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
712
Duration duration =
Duration
;
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
711
Duration duration =
Duration
;
System\Windows\Media\Animation\Timeline.cs (2)
1097
if (
Duration
!= Duration.Automatic)
1100
builder.Append(
Duration
.ToString());
PresentationFramework (5)
System\windows\Documents\CaretElement.cs (1)
907
if (_blinkAnimationClock == null || _blinkAnimationClock.Timeline.
Duration
!= blinkDuration)
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
715
Duration duration =
Duration
;
System\Windows\VisualStateManager.cs (3)
214
(transition.Storyboard == null || transition.Storyboard.
Duration
== DurationZero)))
399
toAnimation.Duration = dynamic.
Duration
;
413
fromAnimation.Duration = dynamic.
Duration
;