Spread for ASP.NET 8.0 Product Documentation
HeaderGrayAreaColor Property (SheetView)
Example 


Gets or sets the color of the header area that does not contain column header or row header cells.
Syntax
'Declaration
 
Public Property HeaderGrayAreaColor As Color
'Usage
 
Dim instance As SheetView
Dim value As Color
 
instance.HeaderGrayAreaColor = value
 
value = instance.HeaderGrayAreaColor
public Color HeaderGrayAreaColor {get; set;}

Property Value

Color object containing the color of the area in the area beyond the headers
Remarks

Use this property to specify the color of the header area that does not contain specific column headers or row headers. Refer to Customizing the Header Empty Area.

To set the color for the background of the column and row headers themselves, use the ColumnHeaderStyleModel and RowHeaderStyleModel properties.

To set the color of the rest of the sheet background, use the BackColor property of the sheet.

Example
This example changes the color of the header area that does not contain column header or row header cells in the SheetView object.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.HeaderGrayAreaColor=Color.Red;
Dim sv AsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.HeaderGrayAreaColor=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

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing the Header Empty Area

 

 


Copyright © GrapeCity, inc. All rights reserved.