RepeatBehavior Constructeurs

Définition

Surcharges

RepeatBehavior(Double)

Initialise une nouvelle instance du struct RepeatBehavior avec le nombre d’itérations spécifié.

RepeatBehavior(TimeSpan)

Initialise une nouvelle instance du struct RepeatBehavior avec la durée de répétition spécifiée.

Remarques

ce struct représente la projection .net du struct Windows Runtime (WinRT) RepeatBehavior . Pour plus d’informations, consultez RepeatBehavior dans la référence de l’API UWP.

RepeatBehavior(Double)

Initialise une nouvelle instance du struct RepeatBehavior avec le nombre d’itérations spécifié.

public:
 RepeatBehavior(double count);
public RepeatBehavior (double count);
new Windows.UI.Xaml.Media.Animation.RepeatBehavior : double -> Windows.UI.Xaml.Media.Animation.RepeatBehavior
Public Sub New (count As Double)

Paramètres

count
Double

Nombre supérieur ou égal à 0 qui indique le nombre d'itérations pour une animation.

Exceptions

count est égal à l'infini, est une valeur qui n'est pas un nombre ou est négatif.

S’applique à

RepeatBehavior(TimeSpan)

Initialise une nouvelle instance du struct RepeatBehavior avec la durée de répétition spécifiée.

public:
 RepeatBehavior(TimeSpan duration);
public RepeatBehavior (TimeSpan duration);
new Windows.UI.Xaml.Media.Animation.RepeatBehavior : TimeSpan -> Windows.UI.Xaml.Media.Animation.RepeatBehavior
Public Sub New (duration As TimeSpan)

Paramètres

duration
TimeSpan

Durée totale pendant laquelle Windows.UI.Xaml.Media.Animation.Timeline doit être lu (sa durée d’activité).

Exceptions

duration est égal à un intervalle de temps négatif.

S’applique à