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 : Object
Attributes
- MarshalingBehaviorAttribute(Agile)
- StaticAttribute(Windows.UI.Xaml.Media.Animation.IRepeatBehaviorHelperStatics, NTDDI_WIN8)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
- WebHostHiddenAttribute()
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.
| Method | Description |
|---|---|
| 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.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets 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] |
|
Namespace |
Windows::UI::Xaml::Media::Animation |
|
Metadata |
|
Build date: 12/4/2012