ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLSheet Class / GridColor Property

In This Topic
    GridColor Property
    In This Topic
    Gets or sets the color used to display grid lines.
    Syntax
    'Declaration
     
    Public Property GridColor As System.Drawing.Color
    public System.Drawing.Color GridColor {get; set;}
    Remarks

    Set this property to Color.Transparent to display the grid lines using the default color.

    To hide the grid lines, set the ShowGridLines property to false.

    See Also