Spread for ASP.NET 8.0 Product Documentation
Rows Property (ColumnHeader)
Example 


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

Property Value

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

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ColumnHeader Class
ColumnHeader Members
Rows Class

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.