RepeatBehaviorHelper class

Applies to Windows and Windows Phone

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

Inheritance

Object
  RepeatBehaviorHelper

Syntax


public ref class RepeatBehaviorHelper sealed 

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The RepeatBehaviorHelper class inherits from Object and IRepeatBehaviorHelper. RepeatBehaviorHelper also has these types of members:

Methods

The RepeatBehaviorHelper class has these methods. It also inherits methods from the Object class.

MethodDescription
Equals(RepeatBehavior, RepeatBehavior) Determines whether two RepeatBehavior values have equivalent values. C# and Microsoft Visual Basic code should use the equality operator instead.
FromCount 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 Creates a new RepeatBehavior based on a timespan. C# and Microsoft Visual Basic code should use RepeatBehavior(TimeSpan) instead.
GetHasCount 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 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.

 

Properties

The RepeatBehaviorHelper class has these properties.

PropertyAccess typeDescription

Forever

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

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml::Media::Animation

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft