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