Spread Windows Forms 10.0 Product Documentation
SetRowLabel Method
Example 


Row index
Row header column index
Text for the label
Sets the value for a specified cell in the row header on this sheet.
Syntax
'Declaration
 
Public Sub SetRowLabel( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value As String _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As String
 
instance.SetRowLabel(row, column, value)
public void SetRowLabel( 
   int row,
   int column,
   string value
)

Parameters

row
Row index
column
Row header column index
value
Text for the label
Example
This example illustrates the use of this member by returning the label for the specified row header.
fpSpread1.ActiveSheet.RowHeaderColumnCount = 3;
fpSpread1.ActiveSheet.SetRowLabel(1, 1, "Income");
label1.Text = "The row label is - " + fpSpread1.ActiveSheet.GetRowLabel(1, 1).ToString();
FpSpread1.ActiveSheet.RowHeaderColumnCount = 3
FpSpread1.ActiveSheet.SetRowLabel(1, 1, "Income")
Label1.Text = "The row label is - " & FpSpread1.ActiveSheet.GetRowLabel(1, 1).ToString()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing Header Label Text

 

 


Copyright © GrapeCity, inc. All rights reserved.