# C1.Win.Command.SelectedIndexChangingEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Command_SelectedIndexChangingEventArgs" data-uid="C1.Win.Command.SelectedIndexChangingEventArgs" class="text-break">SelectedIndexChangingEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the SelectedIndexChanging event.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.canceleventargs">CancelEventArgs</a></div>
    <div class="level3"><span class="xref">SelectedIndexChangingEventArgs</span></div>
  </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.4.8.dll</h6>
  <h5 id="C1_Win_Command_SelectedIndexChangingEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SelectedIndexChangingEventArgs : CancelEventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SelectedIndexChangingEventArgs
    Inherits CancelEventArgs</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_SelectedIndexChangingEventArgs__ctor_System_Int32_System_Boolean_" data-uid="C1.Win.Command.SelectedIndexChangingEventArgs.#ctor(System.Int32,System.Boolean)">
          <a class="xref" href="C1.Win.Command.SelectedIndexChangingEventArgs.-ctor.html#C1_Win_Command_SelectedIndexChangingEventArgs__ctor_System_Int32_System_Boolean_">SelectedIndexChangingEventArgs(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the SelectedIndexChangingEventArgs class</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_SelectedIndexChangingEventArgs_CanCancel" data-uid="C1.Win.Command.SelectedIndexChangingEventArgs.CanCancel">
          <a class="xref" href="C1.Win.Command.SelectedIndexChangingEventArgs.CanCancel.html">CanCancel</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the change of the selected index can be cancelled by the event handler.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_SelectedIndexChangingEventArgs_NewIndex" data-uid="C1.Win.Command.SelectedIndexChangingEventArgs.NewIndex">
          <a class="xref" href="C1.Win.Command.SelectedIndexChangingEventArgs.NewIndex.html">NewIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates the new index of the selected tab page.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
