Spread for ASP.NET 9.0 Product Documentation
ColumnHeaderDataModel Property
Example 


Gets or sets the data for the column header.
Syntax
'Declaration
 
Public Property ColumnHeaderDataModel As ISheetDataModel
'Usage
 
Dim instance As SheetView
Dim value As ISheetDataModel
 
instance.ColumnHeaderDataModel = value
 
value = instance.ColumnHeaderDataModel
public ISheetDataModel ColumnHeaderDataModel {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 row header, use the RowHeaderDataModel property.

Example
This example returns the number of columns in the sheet to a list box.
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView; 
ListBox1.Items.Add(Convert.ToString(sv.ColumnHeaderDataModel.ColumnCount)); 
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
ListBox1.Items.Add(sv.ColumnHeaderDataModel.ColumnCount)
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
RowHeaderDataModel Property

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.