Spread Silverlight Documentation
SetRowLabel Method
Example 


The row index.
The row header column index.
The label text.
Sets the value for a specified cell in a row header on this sheet.
Syntax
'Declaration
 
Public Sub SetRowLabel( _
   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.SetRowLabel(row, column, value)
public void SetRowLabel( 
   System.int row,
   System.int column,
   System.string value
)

Parameters

row
The row index.
column
The row header column index.
value
The label text.
Example
This example uses the SetRowLabel 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.