Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns an Shading object which on which you can manipulate the default shading (fill color and/or pattern) properties of a table's cells that has this formatting.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public Shading DefaultShading{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property DefaultShading() As Shading</p>Shading
Remarks

MS Word equivalent: Format menu > Borders and Shading... > Shading tab

Example
Code Block
csharp
csharp
titleC#
            oTableFormatting.Shading.BackgroundColor = Color.Gray;
        
Code Block
vb.net
vb.net
titlevb.net
            oTableFormatting.Shading.BackgroundColor = Color.Gray