55 references to Duration
PresentationCore (26)
Core\CSharp\System\Windows\Duration.cs (3)
64
return new
Duration
(timeSpan);
78
return new
Duration
(t1._timeSpan + t2._timeSpan);
106
return new
Duration
(t1._timeSpan - t2._timeSpan);
Core\CSharp\System\Windows\DurationConverter.cs (1)
90
return new
Duration
(duration);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
449
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
449
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
449
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
449
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
449
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
504
return new
Duration
(TimeSpan.FromTicks(mediaLength));
PresentationFramework (6)
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
257
animation.Duration = new
Duration
(translateTime + pauseTime);
src\Framework\System\windows\Documents\CaretElement.cs (1)
912
Duration blinkDuration = new
Duration
(TimeSpan.FromMilliseconds(blinkInterval * 2));
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
482
return new
Duration
(LargestTimeSpanKeyTime);
src\Framework\System\Windows\VisualStateManager.cs (2)
424
dynamic.Duration = new
Duration
(TimeSpan.Zero);
843
private static readonly Duration DurationZero = new
Duration
(TimeSpan.Zero);
src\Framework\System\Windows\VisualTransition.cs (1)
90
private Duration _generatedDuration = new
Duration
(new TimeSpan());
PresentationFramework.Aero (20)
Microsoft\Windows\Themes\BulletChrome.cs (6)
133
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.2));
184
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
277
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
353
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
446
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
507
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
Microsoft\Windows\Themes\ButtonChrome.cs (6)
129
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
160
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.2));
220
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
257
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.2));
309
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.1));
342
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.1));
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
150
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
162
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.2));
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
97
animation.Duration = new
Duration
(translateTime + pauseTime);
Microsoft\Windows\Themes\ScrollChrome.cs (5)
119
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
156
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.2));
231
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.2));
254
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
331
Duration duration = new
Duration
(TimeSpan.FromSeconds(0.3));
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
125
animation.Duration = new
Duration
(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
125
animation.Duration = new
Duration
(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
125
animation.Duration = new
Duration
(TimeSpan.FromMilliseconds(milliseconds)); // Repeat every 3 seconds