Sets or returns whether gridlines should be shown in the worksheet. Gridlines are shown by default.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean ShowGridlines{ get; set; }
</pre></td></tr></table>
<p>Public Property ShowGridlines() As Boolean</p>

          //--- Get ShowGridlines
          bool showGrid = ws.ShowGridlines;

          //--- Set ShowGridlines
          ws.ShowGridlines = false;
        

          '--- Get ShowGridlines
          Dim showGrid As Boolean = ws.ShowGridlines

          '--- Set ShowGridlines
          ws.ShowGridlines = False