# C1.Win.TreeView.C1TreeView.SelectionChanging

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Win_TreeView_C1TreeView_SelectionChanging" data-uid="C1.Win.TreeView.C1TreeView.SelectionChanging" class="text-break">SelectionChanging Event
</h1>
<div class="markdown level0 summary"><p>Occurs when the tree node is being changed selected state. Allows to cancel the change.</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_C1TreeView_SelectionChanging_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event C1TreeViewCancelEventHandler SelectionChanging</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event SelectionChanging As C1TreeViewCancelEventHandler</code></pre>
</div>
<h5 class="returns">Returns</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="C1.Win.TreeView.C1TreeViewCancelEventHandler.html">C1TreeViewCancelEventHandler</a></td>
      <td>Occurs when the tree node is being changed selected state. Allows to cancel the change.</td>
    </tr>
  </tbody>
</table>
</div>
