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 : IRepeatBehaviorHelperpublic sealed class RepeatBehaviorHelper : IRepeatBehaviorHelperPublic NotInheritable Class RepeatBehaviorHelper Implements IRepeatBehaviorHelper// This API is not available in Javascript.
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.

public : static RepeatBehavior Forever { get; }public static RepeatBehavior Forever { get; }Public Static ReadOnly Property Forever As RepeatBehavior// This API is not available in Javascript.
Value
RepeatBehavior RepeatBehavior RepeatBehavior RepeatBehavior

A static RepeatBehavior that represents the special "Forever" value.

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.

public : static PlatForm::Boolean Equals(RepeatBehavior target, RepeatBehavior value)public static bool Equals(RepeatBehavior target, RepeatBehavior value)Public Static Function Equals(target As RepeatBehavior, value As RepeatBehavior) As bool// This API is not available in Javascript.
Parameters
Returns
PlatForm::Boolean bool bool bool

true if target and value hold equivalent values; otherwise, false.

See Also

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.

public : static RepeatBehavior FromCount(double count)public static RepeatBehavior FromCount(Double count)Public Static Function FromCount(count As Double) As RepeatBehavior// This API is not available in Javascript.
Parameters
count
double Double Double Double

The number of times that the target animation should repeat.

Returns

The created RepeatBehavior, which has a RepeatBehaviorType of Count.

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.

public : static RepeatBehavior FromDuration(TimeSpan duration)public static RepeatBehavior FromDuration(TimeSpan duration)Public Static Function FromDuration(duration As TimeSpan) As RepeatBehavior// This API is not available in Javascript.
Parameters
duration
TimeSpan TimeSpan TimeSpan TimeSpan

The time span that declares the desired repeat behavior.

Returns

The created RepeatBehavior, which has a RepeatBehaviorType value of Duration.

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.

public : static PlatForm::Boolean GetHasCount(RepeatBehavior target)public static bool GetHasCount(RepeatBehavior target)Public Static Function GetHasCount(target As RepeatBehavior) As bool// This API is not available in Javascript.
Parameters
Returns
PlatForm::Boolean bool bool bool

true if target has a RepeatBehaviorType of Count and a nonzero Count value. Otherwise, false.

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.

public : static PlatForm::Boolean GetHasDuration(RepeatBehavior target)public static bool GetHasDuration(RepeatBehavior target)Public Static Function GetHasDuration(target As RepeatBehavior) As bool// This API is not available in Javascript.
Parameters
Returns
PlatForm::Boolean bool bool bool

true if target has a RepeatBehaviorType of Duration and a nonzero Duration value. Otherwise, false.