Spread Silverlight Documentation
SetColumnLabel Method
Example 


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 uses 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()
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.