Binding.ConverterParameter Property
Silverlight
Gets or sets a parameter that can be used in the Converter logic.
Namespace: System.Windows.Data
Assembly: System.Windows (in System.Windows.dll)
<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. For more information, see Binding Markup Extension.
Property element syntax to create an object element that fills a Binding.ConverterParameter property element is possible, but uncommon.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.