# C1.Win.C1Chart.Style.ShouldSerializeBorder

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_Style_ShouldSerializeBorder_" data-uid="C1.Win.C1Chart.Style.ShouldSerializeBorder*">ShouldSerializeBorder Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_Style_ShouldSerializeBorder_" data-uid="C1.Win.C1Chart.Style.ShouldSerializeBorder*"></a>
<h4 id="C1_Win_C1Chart_Style_ShouldSerializeBorder" data-uid="C1.Win.C1Chart.Style.ShouldSerializeBorder">ShouldSerializeBorder()</h4>
<div class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.C1Chart.Style.Border.html#C1_Win_C1Chart_Style_Border">Border</a> has a default value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShouldSerializeBorder()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function ShouldSerializeBorder() 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.Style.Border.html#C1_Win_C1Chart_Style_Border">Border</a> has no default value; otherwise, it is false.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_C1Chart_Style_ShouldSerializeBorder_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The default state is to inherit the Border from the style of the parent object.</p>
</div>
<h5 id="C1_Win_C1Chart_Style_ShouldSerializeBorder_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.Style.html">Style</a></div>
</div>
</div>
