Share via


BindableProperty.CoerceValueDelegate<TPropertyType> Delegate

Definition

Represents a strongly-typed delegate that is called to coerce a property value to a valid range or state.

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

Type Parameters

TPropertyType

The type of the property value.

Parameters

bindable
BindableObject

The BindableObject instance that owns the property.

value
TPropertyType

The value to be coerced.

Return Value

TPropertyType

The coerced value.

Applies to