# GrapeCity.ActiveReports.Viewer.Win.Sidebar.Width

## Content

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



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



<a id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_Width_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Sidebar.Width*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_Width" data-uid="GrapeCity.ActiveReports.Viewer.Win.Sidebar.Width">Width</h4>
<div class="markdown level1 summary"><p>Gets or sets the width of the sidebar in pixels.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Width { 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 width of the sidebar in pixels. Attempts to set this property to a value outside the allowed range will result in the width being set
to the nearest boundary value (either <span class="xref">GrapeCity.ActiveReports.Viewer.Win.Sidebar.MinSidebarWidth</span> or <span class="xref">GrapeCity.ActiveReports.Viewer.Win.Sidebar.MaxSidebarWidth</span>).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Sidebar_Width_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property allows for the adjustment of the sidebar's width, ensuring that it can be resized to accommodate different content sizes
or user preferences. The width is constrained between minimum and maximum values to ensure that the sidebar remains usable and does not
interfere with the display of the report content.</p>
</div>
</div>
