Spread for ASP.NET 9.0 Product Documentation
RowHeaderColumnAxisModel Property
Example 


Gets or sets the column information for the row header.
Syntax
'Declaration
 
Public Property RowHeaderColumnAxisModel As ISheetAxisModel
'Usage
 
Dim instance As SheetView
Dim value As ISheetAxisModel
 
instance.RowHeaderColumnAxisModel = value
 
value = instance.RowHeaderColumnAxisModel
public ISheetAxisModel RowHeaderColumnAxisModel {get; set;}

Property Value

ISheetAxisModel object containing the column information
Remarks

This property is available at run time only.

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

Example
This example assignes a SheetView object to the active sheet, adds three columns to the row headers, adds a span and sets the size of the first column of headers. A border is also placed around the spanned headers.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
FarPoint.Web.Spread.StyleInfo info=new FarPoint.Web.Spread.StyleInfo();
info.Border=new FarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Teal,2);
sv.PageSize=10;
sv.RowCount=10;
sv.RowHeader.ColumnCount=3;
sv.RowHeaderSpanModel.Add(0,0,2,2);
sv.RowHeaderStyleModel.SetDirectInfo(0,0,info);
sv.RowHeaderColumnAxisModel.SetSize(0,50);
Dim sv As FarPoint.Web.Spread.SheetView
Dim info As New FarPoint.Web.Spread.StyleInfo()
info.Border=New FarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Teal,2)
sv=FpSpread1.ActiveSheetView
sv.PageSize=10
sv.RowCount=10
sv.RowHeader.ColumnCount=3
sv.RowHeaderSpanModel.Add(0,0,2,2)
sv.RowHeaderStyleModel.SetDirectInfo(0,0,info)
sv.RowHeaderColumnAxisModel.SetSize(0,50)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
ColumnHeaderRowAxisModel Property

 

 


Copyright © GrapeCity, inc. All rights reserved.