# C1.Win.FlexGrid.C1FlexGridBase.KeyActionEnter

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_KeyActionEnter_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.KeyActionEnter*">KeyActionEnter Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_KeyActionEnter_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.KeyActionEnter*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_KeyActionEnter" data-uid="C1.Win.FlexGrid.C1FlexGridBase.KeyActionEnter">KeyActionEnter</h4>
<div class="markdown level1 summary"><p>Gets or sets the action to be performed when the user presses the ENTER key.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public KeyActionEnum KeyActionEnter { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property KeyActionEnter As KeyActionEnum</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_KeyActionEnter_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default, the grid will move the selection down to the next visible row when the 
user presses the ENTER key. If the grid is editable, pressing ENTER will cause the grid 
to enter edit mode, and pressing ENTER while in edit mode will cause the cursor to move down.</p>
<p>This property allows you to modify this behavior and disable cell navigation with the
ENTER key, or cause it to move the selection to the next column instead of row.</p>
<p>Note that the <a class="xref" href="C1.Win.FlexGrid.KeyActionEnum.html#C1_Win_FlexGrid_KeyActionEnum_MoveAcrossOut">MoveAcrossOut</a> and as <a class="xref" href="C1.Win.FlexGrid.KeyActionEnum.html#C1_Win_FlexGrid_KeyActionEnum_MoveAcross">MoveAcross</a>
settings have the same effect when applied to this property. Pressing the ENTER key will
move the selection within the grid, but will not move the focus to the next control on the form.</p>
</div>
</div>
