Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ColumnHeader Class / Columns Property

In This Topic
    Columns Property (ColumnHeader)
    In This Topic
    Gets a Columns object for the columns in the column header.
    Public ReadOnly Property Columns As Columns
    Dim instance As ColumnHeader
    Dim value As Columns
    value = instance.Columns
    public Columns Columns {get;}

    Property Value

    Columns object containing the columns in this column header
    This property is available at run time only.
    This example creates a column header and draws a red dotted border around the first column of the column header.
    FarPoint.Web.Spread.ColumnHeader colhdr;
    colhdr = FpSpread1.ActiveSheetView.ColumnHeader;
    colhdr.Columns[0].Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red, 2);
    Dim colhdr As FarPoint.Web.Spread.ColumnHeader
    colhdr = FpSpread1.ActiveSheetView.ColumnHeader
    colhdr.Columns(0).Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red, 2)
    See Also