# C1.Win.TreeView.C1TreeViewEditMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_TreeView_C1TreeViewEditMode" data-uid="C1.Win.TreeView.C1TreeViewEditMode" class="text-break">C1TreeViewEditMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies how a user starts cell editing in the <a class="xref" href="C1.Win.TreeView.C1TreeView.html">C1TreeView</a> control.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.TreeView.html">C1.Win.TreeView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.TreeView.10.dll</h6>
  <h5 id="C1_Win_TreeView_C1TreeViewEditMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum C1TreeViewEditMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum C1TreeViewEditMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_TreeView_C1TreeViewEditMode_EditOnEnter">EditOnEnter</td>
        <td><p>Editing begins when Enter is pressed while the cell has focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_C1TreeViewEditMode_EditOnF2">EditOnF2</td>
        <td><p>Editing begins when F2 is pressed while the cell has focus. This mode places the selection point at the end of the cell contents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_C1TreeViewEditMode_EditOnKeystroke">EditOnKeystroke</td>
        <td><p>Editing begins when any alphanumeric key is pressed while the cell has focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_C1TreeViewEditMode_EditOnKeystrokeOrF2">EditOnKeystrokeOrF2</td>
        <td><p>Editing begins when any alphanumeric key or F2 is pressed while the cell has focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_TreeView_C1TreeViewEditMode_EditProgrammatically">EditProgrammatically</td>
        <td><p>Editing begins only when the <a class="xref" href="C1.Win.TreeView.C1TreeView.BeginEdit.html#C1_Win_TreeView_C1TreeView_BeginEdit">BeginEdit()</a> method is called.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
