BindableObject.IsSet(BindableProperty) Method

Definition

Returns true if the target property exists and has been set.

public bool IsSet (Xamarin.Forms.BindableProperty targetProperty);
member this.IsSet : Xamarin.Forms.BindableProperty -> bool

Parameters

targetProperty
BindableProperty

The property to check.

Returns

true if the target property exists and has been set. If the property has not been set, returns false. If the targetProperty is null, an ArgumentNullException is thrown.

Applies to