BindableProperty.CoerceValueDelegate<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 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
The coerced value.