Spread Windows Forms 12.0 Product Documentation
GrayAreaBackColor Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GrayAreaBackColor Property
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
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Setting the Background Color for the Sheet