Spread Windows Forms 9.0 Product Documentation
GrayAreaBackColor Property
Example 


Gets or sets the color in the area between the sheet and the edge of the control.
Syntax
'Declaration
 
Public Property GrayAreaBackColor As Color
'Usage
 
Dim instance As SheetView
Dim value As Color
 
instance.GrayAreaBackColor = value
 
value = instance.GrayAreaBackColor
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.
fpSpread1.ActiveSheet.GrayAreaBackColor = Color.Red;
FpSpread1.ActiveSheet.GrayAreaBackColor = Color.Red
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Setting the Background Color for the Sheet

 

 


Copyright © GrapeCity, inc. All rights reserved.