Spread for ASP.NET 8.0 Product Documentation
RowHeaderAutoTextIndex Property
Example 


Gets or sets which row header column displays the automatic text when there are multiple row header columns.
Syntax
'Declaration
 
Public Property RowHeaderAutoTextIndex As Integer
'Usage
 
Dim instance As SheetView
Dim value As Integer
 
instance.RowHeaderAutoTextIndex = value
 
value = instance.RowHeaderAutoTextIndex
public int RowHeaderAutoTextIndex {get; set;}

Property Value

Integer number representing the row header column
Remarks
This property is available at run time only.
Example
This example sets the sheet to have three columns in the row header and to display letters in the first column (closest to the data).
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.RowHeader.ColumnCount = 3;
if(IsPostBack)
{
sv.RowHeaderAutoTextIndex = 0;
}

Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.RowHeader.ColumnCount = 3
If IsPostBack Then
sv.RowHeaderAutoTextIndex = 0
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

Reference

SheetView Class
SheetView Members
RowHeader.AutoTextIndex Property

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.