BindingBase.StringFormat Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a string that specifies how to format the binding if it displays the bound value as a string.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.StringA string that specifies how to format the binding if it displays the bound value as a string. The default is Nothing.
| Exception | Condition |
|---|---|
| InvalidOperationException | When setting this property, the binding has already been attached to a binding target. |
Show: