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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : ColumnHeader Property
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
See Also

Reference

SheetView Class
SheetView Members
ColumnHeader Class

User-Task Documentation

Customizing the Appearance of Headers