Partager via


BindableProperty.ValidateValueDelegate<TPropertyType> Délégué

Définition

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 

Paramètres de type

TPropertyType
Ce paramètre de type est contravariant. Cela signifie que vous pouvez utiliser le type spécifié ou tout type moins dérivé. Pour plus d’informations sur la covariance et la contravariance, consultez Covariance et contravariance dans les génériques.

Paramètres

bindable
BindableObject
value
TPropertyType

Valeur renvoyée

S’applique à