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


In This Topic
    RowHeader Property (SheetView)
    In This Topic
    Gets the row headers for the sheet.
    Syntax
    'Declaration
     
    Public ReadOnly Property RowHeader As RowHeader
    'Usage
     
    Dim instance As SheetView
    Dim value As RowHeader
     
    value = instance.RowHeader
    public RowHeader RowHeader {get;}

    Property Value

    RowHeader object containing the row headers
    Example

    This example sets the sheet to have three columns in the row header and to display letters in the first column (closest to the data area).

    FarPoint.Web.Spread.SheetView sv;
    sv = FpSpread1.ActiveSheetView;
    sv.RowHeader.ColumnCount = 3;
    if(IsPostBack)
    {
    sv.RowHeaderAutoTextIndex = 0;
    }
    
    
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.RowHeader.ColumnCount = 3
    If IsPostBack Then
    sv.RowHeaderAutoTextIndex = 0
    End If
    See Also