Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Binding.ConverterParameter Property

 

Gets or sets the parameter to pass to the Converter.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public object ConverterParameter { get; set; }

Property Value

Type: System.Object

The parameter to pass to the Converter. The default is null.

You can use the ConverterParameter property to specify how an object is converted. This property passes additional information to a converter that you use on a binding. When you specify a ConverterParameter, the value is passed to the Convert and ConvertBack methods as the parameter parameter.

For an example, see How to: Produce a Value Based on a List of Bound Items. That example shows an implementation of an IMultiValueConverter but the usage still applies.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft