Color legend method
Translates between the source’s type and the property’s type.
An interface. The styles page shows it in context.
Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.
Methods
Convert() 🠆
Convert(object value) · Turns a source value into the property’s value. Used in OneWay and TwoWay mode.
| Parameter | Type | Description |
|---|---|---|
value |
object |
The source property’s value. |
ConvertBack() 🠆
ConvertBack(object value) · Turns the property’s value into a source value. Used in OneWayToSource and TwoWay mode.
| Parameter | Type | Description |
|---|---|---|
value |
object |
The dependency property’s value. |