RepeatBehaviorHelper RepeatBehaviorHelper RepeatBehaviorHelper RepeatBehaviorHelper Class

Definition

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

public : sealed class RepeatBehaviorHelper
struct winrt::Windows::UI::Xaml::Media::Animation::RepeatBehaviorHelper
public sealed class RepeatBehaviorHelper
Public NotInheritable Class RepeatBehaviorHelper
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Forever Forever Forever Forever

Gets a static RepeatBehavior that represents the special "Forever" value. C# and Microsoft Visual Basic code should use Forever instead.

Methods

Equals(RepeatBehavior, RepeatBehavior) Equals(RepeatBehavior, RepeatBehavior) Equals(RepeatBehavior, RepeatBehavior) Equals(RepeatBehavior, RepeatBehavior)

Determines whether two RepeatBehavior values have equivalent values. C# and Microsoft Visual Basic code should use the equality operator instead.

FromCount(Double) FromCount(Double) FromCount(Double) FromCount(Double)

Creates a new RepeatBehavior based on a repeat count. This corresponds to the intx form when provided as XAML attribute value. C# and Microsoft Visual Basic code should use RepeatBehavior(Double) instead.

FromDuration(TimeSpan) FromDuration(TimeSpan) FromDuration(TimeSpan) FromDuration(TimeSpan)

Creates a new RepeatBehavior based on a timespan. C# and Microsoft Visual Basic code should use RepeatBehavior(TimeSpan) instead.

GetHasCount(RepeatBehavior) GetHasCount(RepeatBehavior) GetHasCount(RepeatBehavior) GetHasCount(RepeatBehavior)

Returns whether a specified RepeatBehavior has a RepeatBehaviorType of Count and a nonzero Count value. C# and Microsoft Visual Basic code should use HasCount instead.

GetHasDuration(RepeatBehavior) GetHasDuration(RepeatBehavior) GetHasDuration(RepeatBehavior) GetHasDuration(RepeatBehavior)

Returns whether a specified RepeatBehavior has a RepeatBehaviorType of Duration and a nonzero Duration value. C# and Microsoft Visual Basic code should use HasDuration instead.