BindableObject.IsSet(BindableProperty) Método

Definición

Determina si existe o no una propiedad enlazable y tiene un valor establecido.

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

Parámetros

targetProperty
BindableProperty

Propiedad enlazable para comprobar si hay un valor establecido actualmente.

Devoluciones

true si existe y se ha establecido la propiedad de destino. De lo contrario, es false.

Excepciones

Se produce cuando targetProperty es null.

Se aplica a