BindableObject.IsSet(BindableProperty) Méthode

Définition

Détermine s’il existe ou non une propriété pouvant être liée et a une valeur définie.

public:
 bool IsSet(Microsoft::Maui::Controls::BindableProperty ^ targetProperty);
public bool IsSet (Microsoft.Maui.Controls.BindableProperty targetProperty);
member this.IsSet : Microsoft.Maui.Controls.BindableProperty -> bool
Public Function IsSet (targetProperty As BindableProperty) As Boolean

Paramètres

targetProperty
BindableProperty

La propriété pouvant être liée à case activée si une valeur est actuellement définie.

Retours

true si la propriété cible existe et qu’elle a été configurée. Sinon, false.

Exceptions

Levée lorsque targetProperty est null.

S’applique à