Spread for ASP.NET 10 Product Documentation
HeaderAutoText Enumeration
Example Example 


Specifies which, if any, automatic text appears in column or row headers.
Syntax
'Declaration
 
Public Enum HeaderAutoText 
   Inherits System.Enum
'Usage
 
Dim instance As HeaderAutoText
public enum HeaderAutoText : System.Enum 
Members
MemberDescription
BlankDoes not display any automatic text in the column or row header.
LettersDisplays letters in the column or row headers.
NumbersDisplays numbers in the column or row header.
Remarks
Use these settings with the ColumnHeader AutoText property and Row Header AutoText property to specify whether numbers or letters appear in the headers. For more information about customizing header text, refer to Customizing Default Header Labels.
Example
This example creates three RowHeaders for the active sheet and displays letters in the first of the headers.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.RowHeader.ColumnCount=3;
sv.RowHeader.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters;
sv.RowHeader.AutoTextIndex=0;
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.RowHeader.ColumnCount=3
sv.RowHeader.AutoText=FarPoint.Web.Spread.HeaderAutoText.Letters
sv.RowHeader.AutoTextIndex=0
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.HeaderAutoText

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

FarPoint.Web.Spread Namespace
AutoText Property (ColumnHeader)
AutoText Property (RowHeader)

User-Task Documentation

Customizing Default Header Labels
Customizing Header Label Text

 

 


Copyright © GrapeCity, inc. All rights reserved.