Spread WPF Documentation
SetColumnLabel Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SetColumnLabel Method
The column header row index.
The column index.
Text for the label.
Sets the value for a specified cell in a column header on this sheet.
Syntax
'Declaration
 
Public Sub SetColumnLabel( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal value As System.String _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim column As System.Integer
Dim value As System.String
 
instance.SetColumnLabel(row, column, value)
public void SetColumnLabel( 
   System.int row,
   System.int column,
   System.string value
)

Parameters

row
The column header row index.
column
The column index.
value
Text for the label.
Example
This example sets the SetColumnLabel method.
gcSpreadSheet1.Sheets[0].SetColumnLabel(0, 2, "test");
gcSpreadSheet1.Sheets[0].SetRowLabel(2, 0, "rowtest");
gcSpreadSheet1.Invalidate();
GcSpreadSheet1.Sheets(0).SetColumnLabel(0, 2, "test")
GcSpreadSheet1.Sheets(0)SetRowLabel(2, 0, "rowtest")
GcSpreadSheet1.Invalidate()
See Also

Reference

Worksheet Class
Worksheet Members