Spread Windows Forms 6.0 Product Documentation
GrayAreaBackColor Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GrayAreaBackColor Property


Glossary Item Box

Gets or sets the color in the area between the sheet and the edge of the control.

Syntax

Visual Basic (Declaration) 
Public Property GrayAreaBackColor As Color
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Color
 
instance.GrayAreaBackColor = value
 
value = instance.GrayAreaBackColor
C# 
public Color GrayAreaBackColor {get; set;}

Property Value

Color object containing the color

Remarks

The blank area between the sheet and the edge of the component is the system control color by default, but it can be set to any color using this property. This is also called the gray area.

Example

This example sets the background color of the sheet in the area beyond the last row and column.
C#Copy Code
fpSpread1.ActiveSheet.GrayAreaBackColor = Color.Red;
Visual BasicCopy Code
FpSpread1.ActiveSheet.GrayAreaBackColor = Color.Red

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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