Share via


BindableObject.IsSet(BindableProperty) Method

Definition

Determines whether or not a bindable property exists and has a value set.

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

Parameters

targetProperty
BindableProperty

The bindable property to check if a value is currently set.

Returns

true if the target property exists and has been set. Otherwise false.

Exceptions

Thrown when targetProperty is null.

Applies to