Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets or returns a {msdn:System.Drawing.Color|Color} object representing the color of the gridlines in the worksheet.{excerpt}
{signature:C#}
 public Color GridlinesColor{ get; set; }
{signature}{signature:vb.net}
Public Property GridlinesColor() As Color
{signature}
{example}{code:csharp|title=C#}

          //--- Get GridlinesColor
          Color gridColor = ws.GridlinesColor;

          //--- Set GridlinesColor
          ws.GridlinesColor = wb.Palette.GetClosestColor(System.Drawing.Color.Blue);
        {code}
{code:vb.net|title=vb.net}

          '--- Get GridlinesColor
          Dim gridColor As Color = ws.GridlinesColor

          '--- Set GridlinesColor
          ws.GridlinesColor = wb.Palette.GetClosestColor(System.Drawing.Color.Blue)
        {code}

{example}