BindableProperty.BindingPropertyChangingDelegate<TPropertyType> 代理人

定義

BindableProperty.PropertyChanging 的強型別委派。

public delegate void BindableProperty.BindingPropertyChangingDelegate<in TPropertyType>(BindableObject bindable, TPropertyType oldValue, TPropertyType newValue);
type BindableProperty.BindingPropertyChangingDelegate<'PropertyType> = delegate of BindableObject * 'PropertyType * 'PropertyType -> unit

類型參數

TPropertyType

系結屬性的類型。

這是反變數的型別參數。 也就是說,您可以使用您指定的類型,或衍生程度較低的任何類型。 如需共變數與反變數的詳細資訊,請參閱泛型中的共變數與反變數

參數

bindable
BindableObject

包含屬性的可繫結物件。

oldValue
TPropertyType

舊的屬性值。

newValue
TPropertyType

新的屬性值。

適用於