# C1.Win.FlexGrid.C1FlexGridBase.AutoSearch

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_AutoSearch_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AutoSearch*">AutoSearch Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_AutoSearch_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AutoSearch*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_AutoSearch" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AutoSearch">AutoSearch</h4>
<div class="markdown level1 summary"><p>Gets or sets whether the grid should move the cursor searching for entries as the user types.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AutoSearchEnum AutoSearch { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutoSearch As AutoSearchEnum</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_AutoSearch_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AutoSearch.html#C1_Win_FlexGrid_C1FlexGridBase_AutoSearch">AutoSearch</a> is on, the grid will search the current column as the user 
types, automatically moving the cursor and highlighting matches using the <a class="xref" href="C1.Win.FlexGrid.CellStyleCollection.Search.html#C1_Win_FlexGrid_CellStyleCollection_Search">Search</a> style. 
The search is case-insensitive. The search is canceled when the user presses the ESC key or 
moves the selection with the mouse or cursor keys.</p>
<p>When the user stops typing for about a second, the search buffer is reset. This amount of 
time can be changed by setting the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AutoSearchDelay.html#C1_Win_FlexGrid_C1FlexGridBase_AutoSearchDelay">AutoSearchDelay</a> property.</p>
<p>If <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AutoSearch.html#C1_Win_FlexGrid_C1FlexGridBase_AutoSearch">AutoSearch</a> is on and <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AllowEditing.html#C1_Win_FlexGrid_C1FlexGridBase_AllowEditing">AllowEditing</a> is set to true, the user 
will need to hit ENTER, or F2 to start editing cells. Other keys are used for searching.</p>
</div>
</div>
