Spread for ASP.NET 7.0 Product Documentation
RowHeaderDataModel Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : RowHeaderDataModel Property


Glossary Item Box

Gets or sets the data for the row header.

Syntax

Visual Basic (Declaration) 
Public Property RowHeaderDataModel As ISheetDataModel
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As ISheetDataModel
 
instance.RowHeaderDataModel = value
 
value = instance.RowHeaderDataModel
C# 
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.
C#Copy Code
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.PageSize=20;
sv.RowCount=20;
ListBox1.Items.Add(sv.RowHeaderDataModel.RowCount.ToString());
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.PageSize=20
sv.RowCount=20
ListBox1.Items.Add(sv.RowHeaderDataModel.RowCount)

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.