Spread Windows Forms 11.0 Product Documentation
ColumnHeaderData Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView.DocumentModels Class : ColumnHeaderData Property
Gets or sets the column header data model.
Syntax
'Declaration
 
Public Property ColumnHeaderData As ISheetDataModel
'Usage
 
Dim instance As SheetView.DocumentModels
Dim value As ISheetDataModel
 
instance.ColumnHeaderData = value
 
value = instance.ColumnHeaderData
public ISheetDataModel ColumnHeaderData {get; set;}

Property Value

ISheetDataModel object containing the data model
Exceptions
ExceptionDescription
Model is not specified (or specified value is null)
Example
This example specifies the text in the first column header.
FarPoint.Win.Spread.SheetView.DocumentModels dm = new FarPoint.Win.Spread.SheetView.DocumentModels();
dm = fpSpread1.ActiveSheet.Models;
dm.ColumnHeaderData.SetValue(0, 0, "Col 1");
Dim dm As New FarPoint.Win.Spread.SheetView.DocumentModels()
dm = FpSpread1.ActiveSheet.Models
dm.ColumnHeaderData.SetValue(0, 0, "Col 1")
See Also

Reference

SheetView.DocumentModels Class
SheetView.DocumentModels Members