# C1.WPF.Chart.Annotation.AnnotationBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_Annotation_AnnotationBase" data-uid="C1.WPF.Chart.Annotation.AnnotationBase" class="text-break">AnnotationBase Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class of annotations for the <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationLayer.html">AnnotationLayer</a></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">AnnotationBase</span></div>
      <div class="level4"><a class="xref" href="C1.WPF.Chart.Annotation.Image.html">Image</a></div>
      <div class="level4"><a class="xref" href="C1.WPF.Chart.Annotation.Shape.html">Shape</a></div>
      <div class="level4"><a class="xref" href="C1.WPF.Chart.Annotation.Template.html">Template</a></div>
      <div class="level4"><a class="xref" href="C1.WPF.Chart.Annotation.Text.html">Text</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IAnnotationBase</span></div>
    <div><span class="xref">IStyleProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.Annotation.html">C1.WPF.Chart.Annotation</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexChart.4.6.2.dll</h6>
  <h5 id="C1_WPF_Chart_Annotation_AnnotationBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class AnnotationBase : DependencyObject, IAnnotationBase, IStyleProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class AnnotationBase
    Inherits DependencyObject
    Implements IAnnotationBase, 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_Annotation_AnnotationBase__ctor" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.#ctor">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.-ctor.html#C1_WPF_Chart_Annotation_AnnotationBase__ctor">AnnotationBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of BaseAnnotation.</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_Annotation_AnnotationBase_AttachmentProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.AttachmentProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.AttachmentProperty.html">AttachmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Attachment dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_LocationProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.LocationProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.LocationProperty.html">LocationProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Location dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_PointIndexProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.PointIndexProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.PointIndexProperty.html">PointIndexProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the PointIndex dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_PositionProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.PositionProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.PositionProperty.html">PositionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Position dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_SeriesIndexProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.SeriesIndexProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.SeriesIndexProperty.html">SeriesIndexProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SeriesIndex dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_StyleProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.StyleProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.StyleProperty.html">StyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Style dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_TooltipTextProperty" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.TooltipTextProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.TooltipTextProperty.html">TooltipTextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the TooltipText 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_Annotation_AnnotationBase_Attachment" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.Attachment">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.Attachment.html#C1_WPF_Chart_Annotation_AnnotationBase_Attachment">Attachment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the attachment of the annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_Bounds" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.Bounds">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.Bounds.html#C1_WPF_Chart_Annotation_AnnotationBase_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_Location" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.Location">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.Location.html#C1_WPF_Chart_Annotation_AnnotationBase_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the location of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_PointIndex" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.PointIndex">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.PointIndex.html#C1_WPF_Chart_Annotation_AnnotationBase_PointIndex">PointIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data point index of the annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_Position" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.Position">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.Position.html#C1_WPF_Chart_Annotation_AnnotationBase_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_SeriesIndex" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.SeriesIndex">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.SeriesIndex.html#C1_WPF_Chart_Annotation_AnnotationBase_SeriesIndex">SeriesIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data series index of the annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_Style" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.Style">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.Style.html#C1_WPF_Chart_Annotation_AnnotationBase_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_TooltipText" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.TooltipText">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.TooltipText.html#C1_WPF_Chart_Annotation_AnnotationBase_TooltipText">TooltipText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tooltip of the annotation.</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_Annotation_AnnotationBase_Distance_System_Double_System_Double_" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.Distance(System.Double,System.Double)">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.Distance.html#C1_WPF_Chart_Annotation_AnnotationBase_Distance_System_Double_System_Double_">Distance(double, double)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_AnnotationBase_GetSize" data-uid="C1.WPF.Chart.Annotation.AnnotationBase.GetSize">
          <a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.GetSize.html#C1_WPF_Chart_Annotation_AnnotationBase_GetSize">GetSize()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
