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


In This Topic
    RowHeaderAutoText Property
    In This Topic
    Gets or sets whether row headers display letters or numbers or are blank.
    Syntax
    'Declaration
     
    Public Property RowHeaderAutoText As HeaderAutoText
    'Usage
     
    Dim instance As SheetView
    Dim value As HeaderAutoText
     
    instance.RowHeaderAutoText = value
     
    value = instance.RowHeaderAutoText
    public HeaderAutoText RowHeaderAutoText {get; set;}

    Property Value

    HeaderAutoText setting that specifies which automatic text appears
    Remarks
    This property is available at run time only.
    Example
    This example sets the row headers to display numbers.
    FarPoint.Web.Spread.SheetView sv;
    sv = FpSpread1.ActiveSheetView;
    sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank;
    if(IsPostBack)
    {
        sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers;
    }
    
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Blank
    If IsPostBack Then
    sv.RowHeaderAutoText = FarPoint.Web.Spread.HeaderAutoText.Numbers
    End If
    See Also