dotnetCHARTING Send comments on this topic.
Add(String,String,String) Method
See Also 
dotnetCHARTING Namespace > GridColumnCollection Class > Add Method : Add(String,String,String) Method


header
The header label of the new column..
value
Cell value text that can be used to specify the data, format, or expression for the column.
style
CSS style for the column.
Adds the specified GridColumn object to this collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Add( _
   ByVal header As String, _
   ByVal value As String, _
   ByVal style As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As GridColumnCollection
Dim header As String
Dim value As String
Dim style As String
Dim value As Integer
 
value = instance.Add(header, value, style)
C# 
public int Add( 
   string header,
   string value,
   string style
)

Parameters

header
The header label of the new column..
value
Cell value text that can be used to specify the data, format, or expression for the column.
style
CSS style for the column.

Return Value

The zero-based index of the added GridColumn.

See Also

© 2021 All Rights Reserved.