Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GrayAreaBackColor Property
Example


In This Topic
    GrayAreaBackColor Property
    In This Topic
    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