Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Duration.Automatic Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a Duration value that is automatically determined.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public static Duration Automatic { get; }

Property Value

Type: System.Windows.Duration

A Duration initialized to an automatic value.

<object property="Automatic" />


A property that accepts a Duration value.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2018 Microsoft