# C1.Win.List.ListBase.C1ListBase.FetchRowStyles

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_ListBase_C1ListBase_FetchRowStyles_" data-uid="C1.Win.List.ListBase.C1ListBase.FetchRowStyles*">FetchRowStyles Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_ListBase_C1ListBase_FetchRowStyles_" data-uid="C1.Win.List.ListBase.C1ListBase.FetchRowStyles*"></a>
<h4 id="C1_Win_List_ListBase_C1ListBase_FetchRowStyles" data-uid="C1.Win.List.ListBase.C1ListBase.FetchRowStyles">FetchRowStyles</h4>
<div class="markdown level1 summary"><p>Specifies whether the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.FetchRowStyle.html">FetchRowStyle</a> event will be fired.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool FetchRowStyles { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property FetchRowStyles As Boolean</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.boolean">bool</a></td>
      <td><p>The default value is false.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_List_ListBase_C1ListBase_FetchRowStyles_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
If True, the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.FetchRowStyle.html">FetchRowStyle</a> event will be fired whenever the list is about to display a row of data.
</p>
<p>
If False (the default), the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.FetchRowStyle.html">FetchRowStyle</a> event is not fired.
</p>
<p>
Set this value to True when you need to perform complex per-row formatting operations that can only be done 
using the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.FetchRowStyle.html">FetchRowStyle</a> event. For example, if you want to apply fonts and/or colors to all rows that satisfy 
certain criteria, then you need to set the FetchRowStyles property to True and write code for the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.FetchRowStyle.html">FetchRowStyle</a> event.
</p>
<p>
To display every other row in a different color or font, you can simply set the <a class="xref" href="C1.Win.List.ListBase.C1ListBase.AlternatingRows.html#C1_Win_List_ListBase_C1ListBase_AlternatingRows">AlternatingRows</a> property to True.
</p>
</div>
</div>
