Spread for ASP.NET 7.0 Product Documentation
HeaderGrayAreaColor Property
See Also  Example Support Options
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.SheetView sv=FpSpread1.ActiveSheetView;
sv.HeaderGrayAreaColor=Color.Red;
Visual BasicCopy Code
Dim sv As FarPoint.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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.