Spread for ASP.NET 9.0 Product Documentation
ColumnHeader Property (SheetView)
Example 


Gets the column headers for the sheet.
Syntax
'Declaration
 
Public ReadOnly Property ColumnHeader As ColumnHeader
'Usage
 
Dim instance As SheetView
Dim value As ColumnHeader
 
value = instance.ColumnHeader
public ColumnHeader ColumnHeader {get;}

Property Value

ColumnHeader object that contains column headers
Example
This example sets the sheet to have three rows of column headers and sets the first row to display the numbers.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.ColumnHeader.RowCount = 3;
if(IsPostBack)
{
sv.ColumnHeaderAutoTextIndex = 0;
}
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.ColumnHeader.RowCount = 3
If IsPostBack Then
sv.ColumnHeaderAutoTextIndex = 0
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 Class

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.