Sets or returns a boolean that represents whether or not Word will shade form fields in a document.

<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 ShadeFormFields{ get; set; }
</pre></td></tr></table>
<p>Public Property ShadeFormFields() As Boolean</p>

This option is set to true by default.

MS Word equivalent: Tools menu > Options... > View tab > Show section > Field shading


          //--- Return ShadeFormFields
          bool shadeFormFields = viewSettings.ShadeFormFields;

          //--- Set ShadeFormFields
          viewSettings.ShadeFormFields = false;
        

          '--- Return ShadeFormFields
          Dim shadeFormFields As Boolean = viewSettings.ShadeFormFields

          '--- Set ShadeFormFields
          viewSettings.ShadeFormFields = False