Spread for ASP.NET 7.0 Product Documentation
Columns Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ColumnHeader Class : Columns Property


Glossary Item Box

Gets a Columns object for the columns in the column header.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Columns As Columns
Visual Basic (Usage)Copy Code
Dim instance As ColumnHeader
Dim value As Columns
 
value = instance.Columns
C# 
public Columns Columns {get;}

Property Value

Columns object containing the columns in this column header

Remarks

This property is available at run time only.

Example

This example creates a column header and draws a red dotted border around the first column of the column header.
C#Copy Code
FarPoint.Web.Spread.ColumnHeader colhdr;
colhdr = FpSpread1.ActiveSheetView.ColumnHeader;
colhdr.Columns[0].Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red, 2);
Visual BasicCopy Code
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)

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.