| Visual Basic (Declaration) | |
|---|---|
Public Property ResultConverterParameter As Object | |
| C# | |
|---|---|
public object ResultConverterParameter {get; set;} | |
Return Value
An object representing the parameter used by the ResultConverter.
Composite format strings use braces ("{}") to identify place-holders, which causes an issue when providing a format string to a StatResultConverter in XAML. As a result, a StatResultConverter supports square brackets ("[]") as a substitute for braces. For example, if normally {0:#0.0} would have been used, it would be replaced with [#0.0] when using a StatResultConverter. If braces are preferred, the format string must be preceded with a closing brace (e.g., ConverterParameter={}{0:#0.0}}).
When using square brackets, the 0: that represents the place-holder must be omitted otherwise an exception will be thrown.
Supported Frameworks: Microsoft .NET Framework version 3.5