# GrapeCity.ActiveReports.Design.LayerList.SelectionChanged

## Content

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




<h1 id="GrapeCity_ActiveReports_Design_LayerList_SelectionChanged" data-uid="GrapeCity.ActiveReports.Design.LayerList.SelectionChanged" class="text-break">SelectionChanged Event
</h1>
<div class="markdown level0 summary"><p>Occurs when the selection within the layers list changes, such as when a different layer is selected by the user.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Design.html">GrapeCity.ActiveReports.Design</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Design.Win.dll</h6>
<h5 id="GrapeCity_ActiveReports_Design_LayerList_SelectionChanged_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event Action&lt;LayerSelectionChangedEventArgs&gt; SelectionChanged</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="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Design.LayerSelectionChangedEventArgs.html">LayerSelectionChangedEventArgs</a>&gt;</td>
      <td>Occurs when the selection within the layers list changes, such as when a different layer is selected by the user.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_LayerList_SelectionChanged_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This event provides notification that the current selection within the layers list has changed, which can occur through user interaction or programmatically.
This is useful for updating property grids, toolbars, or other UI elements to reflect the properties and actions relevant to the newly selected components.</p>
</div>
</div>
