# C1.WPF.Chart.DataLabelBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_DataLabelBase" data-uid="C1.WPF.Chart.DataLabelBase" class="text-break">DataLabelBase Class
</h1>
  <div class="markdown level0 summary"><p>Base class for chart data labels.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><span class="xref">DataLabelBase</span></div>
      <div class="level4"><a class="xref" href="C1.WPF.Chart.DataLabel.html">DataLabel</a></div>
      <div class="level4"><a class="xref" href="C1.WPF.Chart.PieDataLabel.html">PieDataLabel</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IStyleProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.html">C1.WPF.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexChart.4.6.2.dll</h6>
  <h5 id="C1_WPF_Chart_DataLabelBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class DataLabelBase : DependencyObject, IStyleProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class DataLabelBase
    Inherits DependencyObject
    Implements IStyleProvider</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase__ctor" data-uid="C1.WPF.Chart.DataLabelBase.#ctor">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.-ctor.html#C1_WPF_Chart_DataLabelBase__ctor">DataLabelBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an istance of DataLabelBase.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_BorderStyleProperty" data-uid="C1.WPF.Chart.DataLabelBase.BorderStyleProperty">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.BorderStyleProperty.html">BorderStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the BorderStyle dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_StyleProperty" data-uid="C1.WPF.Chart.DataLabelBase.StyleProperty">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.StyleProperty.html">StyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Style dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_Border" data-uid="C1.WPF.Chart.DataLabelBase.Border">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.Border.html#C1_WPF_Chart_DataLabelBase_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the label has border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_BorderStyle" data-uid="C1.WPF.Chart.DataLabelBase.BorderStyle">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.BorderStyle.html#C1_WPF_Chart_DataLabelBase_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border style of the label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_ConnectingLine" data-uid="C1.WPF.Chart.DataLabelBase.ConnectingLine">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.ConnectingLine.html#C1_WPF_Chart_DataLabelBase_ConnectingLine">ConnectingLine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the data labels have a line connecting them with corresponding data point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_Content" data-uid="C1.WPF.Chart.DataLabelBase.Content">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.Content.html#C1_WPF_Chart_DataLabelBase_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content of data labels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_Offset" data-uid="C1.WPF.Chart.DataLabelBase.Offset">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.Offset.html#C1_WPF_Chart_DataLabelBase_Offset">Offset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset of data label from corresponding data point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_Style" data-uid="C1.WPF.Chart.DataLabelBase.Style">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.Style.html#C1_WPF_Chart_DataLabelBase_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the label.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_DataLabelBase_Invalidate" data-uid="C1.WPF.Chart.DataLabelBase.Invalidate">
          <a class="xref" href="C1.WPF.Chart.DataLabelBase.Invalidate.html#C1_WPF_Chart_DataLabelBase_Invalidate">Invalidate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invalidates the parent chart.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
