DurationType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class DurationType
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class DurationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum DurationType
Public Enum DurationType
- Inheritance
-
DurationType
- Attributes
Fields
Automatic | 0 | Has the Automatic special value. |
Forever | 2 | Has the Forever special value. |
TimeSpan | 1 | Has valid information in the |
Remarks
This value is used by the Duration.Type
field, when you use C++ code and access the field data for a Duration.
For a Duration the Automatic and Forever values have different meaning depending on whether the Duration is being used for the Duration property on a Storyboard rather than on an individual storyboarded animation. For more info, see Storyboarded animations.
For C# and Microsoft Visual Basic there is no Type
property but you can use HasTimeSpan to get similar information.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for