# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.AlternatingItemBackground

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_AlternatingItemBackground_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.AlternatingItemBackground*">AlternatingItemBackground Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_AlternatingItemBackground_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.AlternatingItemBackground*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_AlternatingItemBackground" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.AlternatingItemBackground">AlternatingItemBackground</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 the background of dropdown item whose <b>AlternationIndex</b> is 1.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Brush AlternatingItemBackground { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AlternatingItemBackground As Brush</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.brush">Brush</a></td>
      <td><p>The brush that is used to paint the background of dropdown items whose <b>AlternationIndex</b> is 1.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_AlternatingItemBackground_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.ItemBackground.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_ItemBackground">ItemBackground</a> property is used to paint the background for all dropdown items in the control.
However, if the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcComboBox.AlternatingItemBackground.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcComboBox_AlternatingItemBackground">AlternatingItemBackground</a> property value is not <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>,
its value overrides the default background value for dropdown items whose <b>AlternationIndex</b> is 1.</p>
</div>
</div>
