Version

FormatString Property

Gets/sets the format string that will be applied to all cells in the column, if applicable.
Syntax
'Declaration
 
Public Property FormatString As String
public string FormatString {get; set;}
Remarks
Note: The ValueConverter property has higher precedence.

In order to set this property in xaml, the value must begin with {}. For example: FormatString="{}{0:C}"

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also