Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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