# C1.Win.TrueDBGrid.BaseGrid.Frame.AllowFilter

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TrueDBGrid_BaseGrid_Frame_AllowFilter_" data-uid="C1.Win.TrueDBGrid.BaseGrid.Frame.AllowFilter*">AllowFilter Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TrueDBGrid_BaseGrid_Frame_AllowFilter_" data-uid="C1.Win.TrueDBGrid.BaseGrid.Frame.AllowFilter*"></a>
<h4 id="C1_Win_TrueDBGrid_BaseGrid_Frame_AllowFilter" data-uid="C1.Win.TrueDBGrid.BaseGrid.Frame.AllowFilter">AllowFilter</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating the ability of the grid to automatically filter data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Layout]
public bool AllowFilter { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Layout&gt;
Public Property AllowFilter As Boolean</code></pre>
</div>
<h5 id="C1_Win_TrueDBGrid_BaseGrid_Frame_AllowFilter_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If True, and if the Filter Bar is active, the grid will automatically filter data.</p>
<p>If False, the grid will fire the <a class="xref" href="C1.Win.TrueDBGrid.C1TrueDBGrid.Filter.html">Filter</a> event.</p>
<p>If the <a class="xref" href="C1.Win.TrueDBGrid.C1TrueDBGrid.FilterBar.html#C1_Win_TrueDBGrid_C1TrueDBGrid_FilterBar">FilterBar</a> property is true and the user attempts to filter column data, the grid will automatically filter the column data according to the value in the Filter Bar.</p>
<p>If False, the <a class="xref" href="C1.Win.TrueDBGrid.C1TrueDBGrid.Filter.html">Filter</a> event allows the application to filter the data.</p>
</div>
</div>
