BindableProperty.BindingPropertyChangedDelegate<TPropertyType> Delegat

Definition

Der stark typisierte Delegat für BindableProperty.PropertyChanged.

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

Typparameter

TPropertyType

Der Typ der gebundenen Eigenschaft.

Dieser Typparameter ist kontravariant. Das bedeutet, dass Sie entweder den angegebenen Typ oder einen weniger abgeleiteten Typ verwenden können. Weitere Informationen zu Kovarianz und Kontravarianz finden Sie unter Kovarianz und Kontravarianz in Generics.

Parameter

bindable
BindableObject

Das bindbare Objekt, das die Eigenschaft enthält.

oldValue
TPropertyType

Der alte Eigenschaftswert.

newValue
TPropertyType

Der neue Eigenschaftswert.

Gilt für: