Spread ASP.NET 6.0 Product Documentation
RowHeader Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : RowHeader Property


Glossary Item Box

Gets the row headers in the Spread component.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property RowHeader As RowHeader
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As RowHeader
 
value = instance.RowHeader
C# 
public RowHeader RowHeader {get;}

Property Value

RowHeader object containing the row headers in the currently selected sheet

Remarks

This property is available at run time only.

Example

This example creates three row headers, displays letters in the first header and changes its background color to red. The first row displays a yellow border around its cells.
C#Copy Code
    FpSpread1.RowHeader.ColumnCount = 3;
    FpSpread1.RowHeader.AutoText = FarPoint.Web.Spread.HeaderAutoText.Letters;
    FpSpread1.RowHeader.AutoTextIndex = 0;
    FpSpread1.RowHeader.Columns[0].BackColor = Color.Red;
    FpSpread1.Rows[0].Border = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Yellow, 2);
Visual BasicCopy Code
    FpSpread1.RowHeader.ColumnCount = 3
    FpSpread1.RowHeader.AutoText = FarPoint.Web.Spread.HeaderAutoText.Letters
    FpSpread1.RowHeader.AutoTextIndex = 0
    FpSpread1.RowHeader.Columns(0).BackColor = Color.Red
    FpSpread1.Rows(0).Border = New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Yellow, 2)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.