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


In This Topic
    RowHeaderAutoTextIndex Property
    In This Topic
    Gets or sets which row header column displays the automatic text when there are multiple row header columns.
    Syntax
    'Declaration
     
    Public Property RowHeaderAutoTextIndex As Integer
    'Usage
     
    Dim instance As SheetView
    Dim value As Integer
     
    instance.RowHeaderAutoTextIndex = value
     
    value = instance.RowHeaderAutoTextIndex
    public int RowHeaderAutoTextIndex {get; set;}

    Property Value

    Integer number representing the row header column
    Remarks
    This property is available at run time only.
    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).
    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