# GrapeCity.ActiveReports.Design.LayoutChangingArgs.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_LayoutChangingArgs__ctor_" data-uid="GrapeCity.ActiveReports.Design.LayoutChangingArgs.#ctor*">LayoutChangingArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_LayoutChangingArgs__ctor_" data-uid="GrapeCity.ActiveReports.Design.LayoutChangingArgs.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Design_LayoutChangingArgs__ctor_GrapeCity_ActiveReports_Design_LayoutChangeType_GrapeCity_ActiveReports_Design_SelectionType_System_String_System_Object_System_Object_System_String_System_String_" data-uid="GrapeCity.ActiveReports.Design.LayoutChangingArgs.#ctor(GrapeCity.ActiveReports.Design.LayoutChangeType,GrapeCity.ActiveReports.Design.SelectionType,System.String,System.Object,System.Object,System.String,System.String)">LayoutChangingArgs(LayoutChangeType, SelectionType, string, object, object, string, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Design.LayoutChangingArgs.html">LayoutChangingArgs</a> class with specified details about the layout change.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LayoutChangingArgs(LayoutChangeType type, SelectionType selectionType, string name, object newValue, object oldValue, string oldSectionName, string newSectionName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Design.LayoutChangeType.html">LayoutChangeType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Specifies the type of layout change occurring, categorized by the <a class="xref" href="GrapeCity.ActiveReports.Design.LayoutChangeType.html">LayoutChangeType</a> enumeration.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Design.SelectionType.html">SelectionType</a></td>
      <td><span class="parametername">selectionType</span></td>
      <td><p>Specifies the selection type involved in the layout change, categorized by the <span class="xref">GrapeCity.ActiveReports.Design.LayoutChangingArgs.SelectionType</span> enumeration.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name associated with the layout change. This could be the name of a section or component being modified.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">newValue</span></td>
      <td><p>The new value or state being applied as part of the layout change. The specific nature of this value depends on the context
of the change.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">oldValue</span></td>
      <td><p>The previous value or state before the layout change. This provides context for understanding what has changed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">oldSectionName</span></td>
      <td><p>The original name of the section being changed, if applicable. This is relevant when the change involves renaming sections.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">newSectionName</span></td>
      <td><p>The new name of the section after the change, if applicable. This is relevant when the change involves renaming sections.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_LayoutChangingArgs__ctor_GrapeCity_ActiveReports_Design_LayoutChangeType_GrapeCity_ActiveReports_Design_SelectionType_System_String_System_Object_System_Object_System_String_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This constructor is used to create an instance of <a class="xref" href="GrapeCity.ActiveReports.Design.LayoutChangingArgs.html">LayoutChangingArgs</a> that encapsulates all relevant information about a layout change event
within the designer. It allows event handlers to access detailed information about the change, including what is being changed, the nature of the change,
and the before and after states.</p>
</div>
</div>
