Spread for ASP.NET 7.0 Product Documentation
RowHeaderAutoText Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : RowHeaderAutoText Property


Glossary Item Box

Gets or sets whether row headers display letters or numbers or is blank.

Syntax

Visual Basic (Declaration) 
Public Property RowHeaderAutoText As HeaderAutoText
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As HeaderAutoText
 
instance.RowHeaderAutoText = value
 
value = instance.RowHeaderAutoText
C# 
public HeaderAutoText RowHeaderAutoText {get; set;}

Property Value

HeaderAutoText setting that specifies which automatic text appears

Remarks

This property is available at run time only.

Example

This example sets the row headers to display numbers.
C#Copy Code
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank;
if(IsPostBack)
{
    sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers;
}
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank
If IsPostBack Then
sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers
End If

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.