Spread Windows Forms 10.0 Product Documentation
Label Property (Row)
Example 


Gets or sets the header text for this row.
Syntax
'Declaration
 
Public Property Label As String
'Usage
 
Dim instance As Row
Dim value As String
 
instance.Label = value
 
value = instance.Label
public string Label {get; set;}

Property Value

String with label text
Remarks
Row objects returned by Rows.Default and Row objects in the column or row headers do not have a label.
Example
This example sets the label for rows.
FarPoint.Win.Spread.Row r;
int i;
for (i = 0; i <= 3; i++)
{ 
     r = fpSpread1.ActiveSheet.Cells[i, 0].Row;
     r.Label = "Row " + (i + 1).ToString();
}
Dim r As FarPoint.Win.Spread.Row
Dim i As Integer
For i = 0 To 3
     r = FpSpread1.ActiveSheet.Cells(i, 0).Row
     r.Label = "Row" & " " & i + 1
Next i
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

Row Class
Row Members

 

 


Copyright © GrapeCity, inc. All rights reserved.