BindableObject.ClearValue Méthode

Définition

Surcharges

ClearValue(BindableProperty)

Efface toute valeur définie par SetValue pour property.

ClearValue(BindablePropertyKey)

Efface toute valeur définie par SetValue pour la propriété qui est identifiée par propertyKey.

ClearValue(BindableProperty)

Efface toute valeur définie par SetValue pour property.

public void ClearValue (Xamarin.Forms.BindableProperty property);
member this.ClearValue : Xamarin.Forms.BindableProperty -> unit

Paramètres

property
BindableProperty

BindableProperty à effacer.

Remarques

L’appel de cette méthode sur une propriété readonly entraîne une exception InvalidOperationException.

S’applique à

ClearValue(BindablePropertyKey)

Efface toute valeur définie par SetValue pour la propriété qui est identifiée par propertyKey.

public void ClearValue (Xamarin.Forms.BindablePropertyKey propertyKey);
member this.ClearValue : Xamarin.Forms.BindablePropertyKey -> unit

Paramètres

propertyKey
BindablePropertyKey

BindablePropertyKey qui identifie le BindableProperty à effacer.

Remarques

L’appel de cette méthode sur une propriété readonly entraîne une exception InvalidOperationException.

S’applique à