# C1.Win.Command.C1DockingTab.SelectedIndexChanging

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Win_Command_C1DockingTab_SelectedIndexChanging" data-uid="C1.Win.Command.C1DockingTab.SelectedIndexChanging" class="text-break">SelectedIndexChanging Event
</h1>
<div class="markdown level0 summary"><p>Event fired when the index of the currently selected page is about to change. Allows to cancel the change.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Command.html">C1.Win.Command</a></h6>
<h6><strong>Assembly</strong>: C1.Win.Command.10.dll</h6>
<h5 id="C1_Win_Command_C1DockingTab_SelectedIndexChanging_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;C1DockingTab.SelectedIndexChanging&quot;, &quot;Event fired when the index of the currently selected page is about to change. Allows to cancel the change.&quot;)]
public event SelectedIndexChangingEventHandler SelectedIndexChanging</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1DockingTab.SelectedIndexChanging&quot;, &quot;Event fired when the index of the currently selected page is about to change. Allows to cancel the change.&quot;)&gt;
Public Event SelectedIndexChanging As SelectedIndexChangingEventHandler</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.Command.SelectedIndexChangingEventHandler.html">SelectedIndexChangingEventHandler</a></td>
      <td>Event fired when the index of the currently selected page is about to change. Allows to cancel the change.</td>
    </tr>
  </tbody>
</table>
</div>
