# C1.C1Preview.Style.Brush

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_Style_Brush_" data-uid="C1.C1Preview.Style.Brush*">Brush Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_Style_Brush_" data-uid="C1.C1Preview.Style.Brush*"></a>
<h4 id="C1_C1Preview_Style_Brush" data-uid="C1.C1Preview.Style.Brush">Brush</h4>
<div class="markdown level1 summary"><p>Gets or sets the brush used to fill the background.
If both this and <a class="xref" href="C1.C1Preview.Style.BackColor.html#C1_C1Preview_Style_BackColor">BackColor</a> properties are specified for a style,
the <b>BackColor</b> takes precedence.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Brush Brush { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Brush As Brush</code></pre>
</div>
<h5 id="C1_C1Preview_Style_Brush_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property is <b>non-ambient</b> (inherited from the <a class="xref" href="C1.C1Preview.Style.Parent.html#C1_C1Preview_Style_Parent">Parent</a> of the current style if not explicitly set).</p>
<p>The default is no brush.</p>
</div>
</div>
