Gets or sets the data for the column header.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ColumnHeaderDataModel As ISheetDataModel |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim value As ISheetDataModel
instance.ColumnHeaderDataModel = value
value = instance.ColumnHeaderDataModel |
Property Value
ISheetDataModel object containing the data
Remarks
Example
This example returns the number of columns in the sheet to a list box.
C# | Copy Code |
---|
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
ListBox1.Items.Add(Convert.ToString(sv.ColumnHeaderDataModel.ColumnCount)); |
Visual Basic | Copy Code |
---|
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
ListBox1.Items.Add(sv.ColumnHeaderDataModel.ColumnCount) |
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