Share via


RepeatBehaviorHelper.FromCount(Double) Method

Definition

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.

 static RepeatBehavior FromCount(double const& count);
public static RepeatBehavior FromCount(double count);
function fromCount(count)
Public Shared Function FromCount (count As Double) As RepeatBehavior

Parameters

count
Double

double

The number of times that the target animation should repeat.

Returns

The created RepeatBehavior, which has a RepeatBehaviorType of Count.

Applies to