BindableProperty.BindingPropertyChangedDelegate<TPropertyType> Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a strongly-typed delegate that is called when a bindable property value has changed.
public delegate void BindableProperty.BindingPropertyChangedDelegate<in TPropertyType>(BindableObject bindable, TPropertyType oldValue, TPropertyType newValue);
type BindableProperty.BindingPropertyChangedDelegate<'PropertyType> = delegate of BindableObject * 'PropertyType * 'PropertyType -> unit
Public Delegate Sub BindableProperty.BindingPropertyChangedDelegate(Of In TPropertyType)(bindable As BindableObject, oldValue As TPropertyType, newValue As TPropertyType)
Type Parameters
- TPropertyType
The type of the property value.
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.Parameters
- bindable
- BindableObject
The BindableObject instance that owns the property.
- oldValue
- TPropertyType
The previous value of the property.
- newValue
- TPropertyType
The new value of the property.
Remarks
This delegate does not provide information about which specific BindableProperty triggered the change. See BindableProperty.BindingPropertyChangedDelegate for workaround strategies.