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


In This Topic
    RowHeaderDataModel Property
    In This Topic
    Gets or sets the data for the row header.
    Syntax
    'Declaration
     
    Public Property RowHeaderDataModel As ISheetDataModel
    'Usage
     
    Dim instance As SheetView
    Dim value As ISheetDataModel
     
    instance.RowHeaderDataModel = value
     
    value = instance.RowHeaderDataModel
    public ISheetDataModel RowHeaderDataModel {get; set;}

    Property Value

    ISheetDataModel object containing the data
    Remarks

    This property is available at run time only.

    To get or set the object for the column header, use the ColumnHeaderDataModel property.

    Example
    This example uses a SheetView object to return the number of rows in the sheet to a list box.
    FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
    sv.PageSize=20;
    sv.RowCount=20;
    ListBox1.Items.Add(sv.RowHeaderDataModel.RowCount.ToString());
    Dim sv As FarPoint.Web.Spread.SheetView
    sv=FpSpread1.ActiveSheetView
    sv.PageSize=20
    sv.RowCount=20
    ListBox1.Items.Add(sv.RowHeaderDataModel.RowCount)
    See Also