共用方式為


BindableProperty.ValidateValueDelegate<TPropertyType> Delegate

Definition

public delegate bool BindableProperty.ValidateValueDelegate<in TPropertyType>(BindableObject bindable, TPropertyType value);
type BindableProperty.ValidateValueDelegate<'PropertyType> = delegate of BindableObject * 'PropertyType -> bool
Public Delegate Function BindableProperty.ValidateValueDelegate(Of In TPropertyType)(bindable As BindableObject, value As TPropertyType) As Boolean 

Type Parameters

TPropertyType
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
value
TPropertyType

Return Value

Applies to