Window.DisplayGridlines Property
True if gridlines are displayed.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property DisplayGridlines As Boolean
Get
Set
'Usage
Dim instance As Window
Dim value As Boolean
value = instance.DisplayGridlines
instance.DisplayGridlines = value
bool DisplayGridlines { get; set; }
Property Value
Type: System.Boolean
Remarks
This property applies only to worksheets and macro sheets.
This property affects only displayed gridlines. Use the PrintGridlines property to control the printing of gridlines.