Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / ColumnHeader Property

In This Topic
    ColumnHeader Property (SheetView)
    In This Topic
    Gets the column headers for the sheet.
    Public ReadOnly Property ColumnHeader As ColumnHeader
    Dim instance As SheetView
    Dim value As ColumnHeader
    value = instance.ColumnHeader
    public ColumnHeader ColumnHeader {get;}

    Property Value

    ColumnHeader object that contains column headers
    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;
    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