# C1.Win.C1Chart.Area.ShouldSerializeLocationDefault

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_Area_ShouldSerializeLocationDefault_" data-uid="C1.Win.C1Chart.Area.ShouldSerializeLocationDefault*">ShouldSerializeLocationDefault Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_Area_ShouldSerializeLocationDefault_" data-uid="C1.Win.C1Chart.Area.ShouldSerializeLocationDefault*"></a>
<h4 id="C1_Win_C1Chart_Area_ShouldSerializeLocationDefault" data-uid="C1.Win.C1Chart.Area.ShouldSerializeLocationDefault">ShouldSerializeLocationDefault()</h4>
<div class="markdown level1 summary"><p>Returns false if the ChartArea LocationDefault property is in the default state.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShouldSerializeLocationDefault()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function ShouldSerializeLocationDefault() As Boolean</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.boolean">bool</a></td>
      <td><p>True if the <a class="xref" href="C1.Win.C1Chart.Area.LocationDefault.html#C1_Win_C1Chart_Area_LocationDefault">LocationDefault</a> has no default value; otherwise, it is false.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_C1Chart_Area_ShouldSerializeLocationDefault_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The default state is LocationDefault.X = -1, LocationDefault.Y = -1,
which results in automatic placement of the ChartArea.</p>
</div>
<h5 id="C1_Win_C1Chart_Area_ShouldSerializeLocationDefault_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.Area.html">Area</a></div>
</div>
</div>
