Share via


BindableProperty.ValidateValueDelegate<TPropertyType> Delegate

Definition

Strongly-typed delegate for BindableProperty.ValidateValue.

public delegate bool BindableProperty.ValidateValueDelegate<in TPropertyType>(BindableObject bindable, TPropertyType value);
type BindableProperty.ValidateValueDelegate<'PropertyType> = delegate of BindableObject * 'PropertyType -> bool

Type Parameters

TPropertyType

The type of the bound property.

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 bindable object that contains the property.

value
TPropertyType

The value to validate.

Return Value

System.Boolean

Applies to