# GrapeCity.ActiveReports.Design.Designer.LayoutChanging

## Content

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




<h1 id="GrapeCity_ActiveReports_Design_Designer_LayoutChanging" data-uid="GrapeCity.ActiveReports.Design.Designer.LayoutChanging" class="text-break">LayoutChanging Event
</h1>
<div class="markdown level0 summary"><p>Occurs before a change in the layout is made. This event allows interception and prevention of layout modifications.</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_Designer_LayoutChanging_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event LayoutChangingEventHandler LayoutChanging</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="GrapeCity.ActiveReports.Design.LayoutChangingEventHandler.html">LayoutChangingEventHandler</a></td>
      <td>Occurs before a change in the layout is made. This event allows interception and prevention of layout modifications.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_LayoutChanging_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This event provides a mechanism to monitor and potentially cancel changes to the report's layout before they are applied. It can be useful for enforcing
constraints, validating changes, or implementing custom behavior in response to layout adjustments.</p>
<p>Handlers can inspect the event arguments to determine the nature of the proposed change and decide whether to allow it, modify it, or prevent it 
from occurring.</p>
</div>
</div>
