共用方式為


BindableObjectExtensions.GetPropertyIfSet<T> Method

Definition

public static T GetPropertyIfSet<T> (this Xamarin.Forms.BindableObject bindableObject, Xamarin.Forms.BindableProperty bindableProperty, T returnIfNotSet);
static member GetPropertyIfSet : Xamarin.Forms.BindableObject * Xamarin.Forms.BindableProperty * 'T -> 'T

Type Parameters

T

Parameters

bindableObject
BindableObject
bindableProperty
BindableProperty
returnIfNotSet
T

Returns

T

Applies to