Delegate CoerceValueCallback
Property value coercion callback.
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public delegate object CoerceValueCallback(DependencyObject d, object baseValue);
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | d | The DependencyObject on which the value changed. |
| System.Object | baseValue | The value before coercion. |
Returns
| Type | Description |
|---|---|
| System.Object | The value after coercion. |