.netCHARTING v10.5 Documentation


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

Syntax
'Declaration
 
Public Property DataGridFormatString As String
'Usage
 
Dim instance As DataEngine
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" or "currency" , "E" or "scientific" , "F" or "fixed" , "G" or "general" and "N,2" for normal and the number after the comma determines the number of decimal places.
Example
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