# C1.WPF.Chart.Annotation.Text

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_Annotation_Text" data-uid="C1.WPF.Chart.Annotation.Text" class="text-break">Text Class
</h1>
  <div class="markdown level0 summary"><p>Represents a text annotation 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"><a class="xref" href="C1.WPF.Chart.Annotation.AnnotationBase.html">AnnotationBase</a></div>
    <div class="level4"><span class="xref">Text</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IText</span></div>
    <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_Text_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Text : AnnotationBase, IText, IAnnotationBase, IStyleProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Text
    Inherits AnnotationBase
    Implements IText, 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_Text__ctor" data-uid="C1.WPF.Chart.Annotation.Text.#ctor">
          <a class="xref" href="C1.WPF.Chart.Annotation.Text.-ctor.html#C1_WPF_Chart_Annotation_Text__ctor">Text()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_Text__ctor_System_String_" data-uid="C1.WPF.Chart.Annotation.Text.#ctor(System.String)">
          <a class="xref" href="C1.WPF.Chart.Annotation.Text.-ctor.html#C1_WPF_Chart_Annotation_Text__ctor_System_String_">Text(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Text.</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_Text_ContentProperty" data-uid="C1.WPF.Chart.Annotation.Text.ContentProperty">
          <a class="xref" href="C1.WPF.Chart.Annotation.Text.ContentProperty.html">ContentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Text 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_Text_Angle" data-uid="C1.WPF.Chart.Annotation.Text.Angle">
          <a class="xref" href="C1.WPF.Chart.Annotation.Text.Angle.html#C1_WPF_Chart_Annotation_Text_Angle">Angle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the annotaion angle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Annotation_Text_Content" data-uid="C1.WPF.Chart.Annotation.Text.Content">
          <a class="xref" href="C1.WPF.Chart.Annotation.Text.Content.html#C1_WPF_Chart_Annotation_Text_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text of the annotation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
