# GrapeCity.ActiveReports.Design.Designer.SnapGrid

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_Designer_SnapGrid_" data-uid="GrapeCity.ActiveReports.Design.Designer.SnapGrid*">SnapGrid Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Designer_SnapGrid_" data-uid="GrapeCity.ActiveReports.Design.Designer.SnapGrid*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Designer_SnapGrid" data-uid="GrapeCity.ActiveReports.Design.Designer.SnapGrid">SnapGrid</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether controls on the design surface should align to the nearest grid point.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Obsolete(&quot;SnapGrid is obsoleted for designer, please use LayoutMode instead&quot;)]
public bool SnapGrid { 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.boolean">bool</a></td>
      <td><p><code>true</code> if controls are aligned to the nearest grid point; otherwise, <code>false</code>. The default is <code>false</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_SnapGrid_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property is obsolete and maintained for backward compatibility. Use the <a class="xref" href="GrapeCity.ActiveReports.Design.Designer.LayoutMode.html#GrapeCity_ActiveReports_Design_Designer_LayoutMode">LayoutMode</a> property to control the layout
behavior of controls on the design surface.</p>
</div>
</div>
