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


Glossary Item Box

Gets a Cells object for the cells in the column header.

Syntax

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

Property Value

Cells object with the cells in this column header

Remarks

This property is available at run time only.

Example

This example changes the background color of the first cell in the column header to red.
C#Copy Code
FarPoint.Web.Spread.ColumnHeader colhdr;
colhdr = FpSpread1.ActiveSheetView.ColumnHeader;
colhdr.Cells[0, 0].BackColor = Color.Red;
Visual BasicCopy Code
Dim colhdr As FarPoint.Web.Spread.ColumnHeader
colhdr = FpSpread1.ActiveSheetView.ColumnHeader
colhdr.Cells.Item(0, 0).BackColor = Color.Red

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.