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


Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Property ColumnHeaderAutoText As HeaderAutoText
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As HeaderAutoText
 
instance.ColumnHeaderAutoText = value
 
value = instance.ColumnHeaderAutoText
C# 
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.
C#Copy Code
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.ColumnHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank;
if(IsPostBack)
{
    sv.ColumnHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers;
}
Visual BasicCopy Code
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 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.