Binding.ConverterParameter property

This topic has not yet been rated - Rate this topic

Gets or sets a parameter that can be used in the Converter logic.

Syntax


public object ConverterParameter { get; set; }


<Binding ConverterParameter="parameter"/>
-or-
<Binding ConverterParameter="parameterReference"/>

XAML Values

parameter

A parameter value that is either a primitive value, or can be type converted from a string.

parameterReference

A parameter value that is obtained as a reference to an already existing object. Typically the object is created in a ResourceDictionary and given a key, then referenced by using the StaticResource markup extension.

Property value

Type: System.Object [.NET] | Platform::Object [C++]

A parameter to be passed to the Converter. This can be used in the conversion logic. The default is null.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

See also

Binding
XAML data binding sample
Data binding overview

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.