Gets or sets the format that will be used to display the cell's content.
Property Value
A string representing the format that will be used to display the cell's content.
The following examples demonstrate how to set the FormatSpecifier property.
' Short date gridControl1.DataRowTemplate.Cells( "Date1" ).FormatSpecifier = "d" ' Long date gridControl1.DataRowTemplate.Cells( "Date2" ).FormatSpecifier = "D" ' Currency gridControl1.DataRowTemplate.Cells( "Amount" ).FormatSpecifier = "c"
// Short date gridControl1.DataRowTemplate.Cells[ "Date1" ].FormatSpecifier = "d"; // Long date gridControl1.DataRowTemplate.Cells[ "Date2" ].FormatSpecifier = "D"; // Currency gridControl1.DataRowTemplate.Cells[ "Amount" ].FormatSpecifier = "c";
Target Platforms: Windows 7, 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