# GrapeCity.ActiveReports.Viewer.Win.Sidebar.SelectedIndex

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_SelectedIndex_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Sidebar.SelectedIndex*">SelectedIndex Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_SelectedIndex_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Sidebar.SelectedIndex*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_SelectedIndex" data-uid="GrapeCity.ActiveReports.Viewer.Win.Sidebar.SelectedIndex">SelectedIndex</h4>
<div class="markdown level1 summary"><p>Gets or sets the index of the currently selected panel in the sidebar.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int SelectedIndex { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>The zero-based index of the active panel. The specific panels (Table of Contents, Search, Parameters, Thumbnails) are indexed in the order
they are added to the sidebar. The default value is 0.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_SelectedIndex_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property controls which panel is currently visible in the sidebar. It can be used to programmatically change the active panel,
enhancing the interactivity of the report viewing experience by responding to user actions or other events in the application.</p>
</div>
</div>
