# C1.C1Preview.Style.BackColor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_Style_BackColor_" data-uid="C1.C1Preview.Style.BackColor*">BackColor Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_Style_BackColor_" data-uid="C1.C1Preview.Style.BackColor*"></a>
<h4 id="C1_C1Preview_Style_BackColor" data-uid="C1.C1Preview.Style.BackColor">BackColor</h4>
<div class="markdown level1 summary"><p>Gets or sets the background color.
If both this and <a class="xref" href="C1.C1Preview.Style.Brush.html#C1_C1Preview_Style_Brush">Brush</a> properties are specified for a style,
this property 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 Color BackColor { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property BackColor As Color</code></pre>
</div>
<h5 id="C1_C1Preview_Style_BackColor_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 transparent background color.</p>
</div>
</div>
