Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing the Header Empty Area

 

 


Copyright © GrapeCity, inc. All rights reserved.