Spread ASP.NET 6.0 Product Documentation
HeaderGrayAreaColor Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : HeaderGrayAreaColor Property


Glossary Item Box

Gets or sets the color of the header area that does not contain column header or row header cells.

Syntax

Visual Basic (Declaration) 
Public Property HeaderGrayAreaColor As Color
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Color
 
instance.HeaderGrayAreaColor = value
 
value = instance.HeaderGrayAreaColor
C# 
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.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
sv.HeaderGrayAreaColor=Color.Red;
Visual BasicCopy Code
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.HeaderGrayAreaColor=Color.Red

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.