Spread for ASP.NET 9.0 Product Documentation
ColumnHeaderAutoText Property
Example 


Gets or sets whether column headers display letters or numbers or are blank.
Syntax
'Declaration
 
Public Property ColumnHeaderAutoText As HeaderAutoText
'Usage
 
Dim instance As SheetView
Dim value As HeaderAutoText
 
instance.ColumnHeaderAutoText = value
 
value = instance.ColumnHeaderAutoText
public HeaderAutoText ColumnHeaderAutoText {get; set;}

Property Value

HeaderAutoText enumeration that sets which automatic text appears
Remarks
This property is available at run time only.
Example
This example sets the column headers to display numbers.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.ColumnHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank;
if(IsPostBack)
{
    sv.ColumnHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers;
}
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.ColumnHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank
If IsPostBack Then
sv.ColumnHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers
End If
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

SheetView Class
SheetView Members
ColumnHeader.AutoText Property

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.