Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView.DocumentModels Class / ColumnHeaderData Property

In This Topic
    ColumnHeaderData Property
    In This Topic
    Gets or sets the column header data model.
    Public Property ColumnHeaderData As ISheetDataModel
    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
    Model is not specified (or specified value is null)
    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