.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Chart Class : DataGridFormatString Property
DataGridFormatString Property (Chart)
Gets or sets the format string which determines number formatting in the datagrid.

Syntax
'Declaration
 
Public Property DataGridFormatString As String
'Usage
 
Dim instance As Chart
Dim value As String
 
instance.DataGridFormatString = value
 
value = instance.DataGridFormatString
public string DataGridFormatString {get; set;}
Remarks
See 'Formatting Types' in your msdn documentation for a complete list of options.



Some shortcuts are also provided for specific settings including "C" for "currency" , "E" for "scientific" , "F" for "fixed" , "G" for "general" and "N,2" for normal and the number after the comma determines the number of decimal places.
Requirements

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

See Also