Spread for ASP.NET 9.0 Product Documentation
Rows Property (RowHeader)
Example 


Gets a Rows object for the rows in the row header.
Syntax
'Declaration
 
Public ReadOnly Property Rows As Rows
'Usage
 
Dim instance As RowHeader
Dim value As Rows
 
value = instance.Rows
public Rows Rows {get;}

Property Value

Rows object containing the rows in this row header
Remarks
This property is available at run time only.
Example
This example creates multiple rows in the row headers in the sheet and puts a different border around each of the rows.
FarPoint.Web.Spread.RowHeader rhdr;
rhdr = FpSpread1.ActiveSheetView.RowHeader;
rhdr.ColumnCount = 3;
rhdr.Rows[0].Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Salmon, 2);
rhdr.Rows[1].Border = new FarPoint.Web.Spread.Border(BorderStyle.Groove, Color.Yellow, 2);
rhdr.Rows[2].Border = new FarPoint.Web.Spread.Border(BorderStyle.Inset, Color.YellowGreen, 2);
Dim rhdr As FarPoint.Web.Spread.RowHeader
rhdr = FpSpread1.ActiveSheetView.RowHeader
rhdr.ColumnCount = 3
rhdr.Rows(0).Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Salmon, 2)
rhdr.Rows(1).Border = New FarPoint.Web.Spread.Border(BorderStyle.Groove, Color.Yellow, 2)
rhdr.Rows(2).Border = New FarPoint.Web.Spread.Border(BorderStyle.Inset, Color.YellowGreen, 2)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

RowHeader Class
RowHeader Members
Rows Class

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.