# C1.WPF.FlexGrid.C1FlexGrid.RowHeaderSelectedBackground

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_C1FlexGrid_RowHeaderSelectedBackground_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.RowHeaderSelectedBackground*">RowHeaderSelectedBackground Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_C1FlexGrid_RowHeaderSelectedBackground_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.RowHeaderSelectedBackground*"></a>
<h4 id="C1_WPF_FlexGrid_C1FlexGrid_RowHeaderSelectedBackground" data-uid="C1.WPF.FlexGrid.C1FlexGrid.RowHeaderSelectedBackground">RowHeaderSelectedBackground</h4>
<div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a> that is used to paint row header backgrounds
for selected cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Brush RowHeaderSelectedBackground { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property RowHeaderSelectedBackground As Brush</code></pre>
</div>
<h5 id="C1_WPF_FlexGrid_C1FlexGrid_RowHeaderSelectedBackground_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;This property allows you to highlight headers that correspond to the current 
</code></pre>
<p>selection, making it easier for the user to identify the selection (as in Excel).</p>
<p>Setting this property to null causes all row headers to be rendered using the brush
defined by the <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.RowHeaderBackground.html#C1_WPF_FlexGrid_C1FlexGrid_RowHeaderBackground">RowHeaderBackground</a> property.</p>
</div>
</div>
