Windows.UI.Xaml.DurationHelper

June 22, 2022 ยท View on GitHub

-description

Provides basic utility methods for processing Duration values. C# and Microsoft Visual Basic code should use methods of Duration instead.

-remarks

Duration is a Windows Runtime structure that represents a unit of time for an animation behavior. For example, Timeline.Duration uses a Duration value.

DurationHelper is one of several Helper classes that are intended to provide utility methods for Windows Runtime structure values. C# and Microsoft Visual Basic code can use members of Duration instead, because utility members are available directly on the structure due to .NET Framework runtime support. C++ code can only access the Timespan data value on Duration. For C++ developers, approximately the same utility features that a Microsoft Visual Basic developer could use directly on Duration are available in a static form on the DurationHelper class.

-examples

-see-also

Duration, Storyboarded animations