Spread Silverlight Documentation
SetRowLabel Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SetRowLabel Method
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()
See Also

Reference

Worksheet Class
Worksheet Members