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|System.Drawing.Color} object that represents the color of this border.{excerpt}
{signature:C#}
 public System.Drawing.Color Color{ get; set; }
{signature}{signature:vb.net}
Public Property Color() As System.Drawing.Color
{signature}
{remarks}MS Word equivalent: Format menu > Borders and Shading... > Borders tab > Color:

{remarks}
{example}{code:csharp|title=C#}

          //--- Get Color
          System.Drawing.Color borderColor = brdr.Color;

          //--- Set Color
          brdr.Color = System.Drawing.Color.Blue;
        {code}
{code:vbnet|title=vb.net}

          '--- Get Color
          Dim borderColor As System.Drawing.Color = brdr.Color

          '--- Set Color
          brdr.Color = System.Drawing.Color.Blue
        {code}

{example}