RepeatBehaviorHelper class
TOC
Collapse the table of content
Expand the table of content

RepeatBehaviorHelper class

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 

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-only

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

 

 

Show:
© 2016 Microsoft