Binding.ConverterParameter Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a parameter that can be used in the Converter logic.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<Binding ConverterParameter="parameter"/> -or- <Binding ConverterParameter="parameterReference"/>
XAML Values
Property Value
Type: System.ObjectA parameter to be passed to the Converter. This can be used in the conversion logic. The default is null.
| Exception | Condition |
|---|---|
| InvalidOperationException | The Binding has already been attached to a target element, and cannot be modified. |
XAML Usage Notes
ConverterParameter can be set as a binding property through the Binding markup extension, which enables specifying an entire Binding as an attribute string.
Property element syntax to create an object element that fills a Binding.ConverterParameter property element is possible, but uncommon.