Spread for ASP.NET 9.0 Product Documentation
Cells Property (ColumnHeader)
Example 


Gets a Cells object for the cells in the column header.
Syntax
'Declaration
 
Public ReadOnly Property Cells As Cells
'Usage
 
Dim instance As ColumnHeader
Dim value As Cells
 
value = instance.Cells
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.
FarPoint.Web.Spread.ColumnHeader colhdr;
colhdr = FpSpread1.ActiveSheetView.ColumnHeader;
colhdr.Cells[0, 0].BackColor = Color.Red;
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ColumnHeader Class
ColumnHeader Members
Cells Class

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.