# C1.Framework.ParagraphElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_ParagraphElement" data-uid="C1.Framework.ParagraphElement" class="text-break">ParagraphElement Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="C1.Framework.BasePanel.html">BasePanel</a> that displays paragraphs.</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="C1.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.BasePanel.html">BasePanel</a></div>
    <div class="level3"><span class="xref">ParagraphElement</span></div>
      <div class="level4"><a class="xref" href="C1.Framework.Html.HtmlDiv.html">HtmlDiv</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_ParagraphElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ParagraphElement : BasePanel, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ParagraphElement
    Inherits BasePanel
    Implements ISupportUia</code></pre>
  </div>
  <h5 id="C1_Framework_ParagraphElement_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class is a panel that wraps and aligns its child elements.</p>
</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_Framework_ParagraphElement__ctor" data-uid="C1.Framework.ParagraphElement.#ctor">
          <a class="xref" href="C1.Framework.ParagraphElement.-ctor.html#C1_Framework_ParagraphElement__ctor">ParagraphElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ParagraphElement.html">ParagraphElement</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement__ctor_C1_Framework_Style_" data-uid="C1.Framework.ParagraphElement.#ctor(C1.Framework.Style)">
          <a class="xref" href="C1.Framework.ParagraphElement.-ctor.html#C1_Framework_ParagraphElement__ctor_C1_Framework_Style_">ParagraphElement(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ParagraphElement.html">ParagraphElement</a> class with the specified style settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement__ctor_C1_Framework_Style_System_String_" data-uid="C1.Framework.ParagraphElement.#ctor(C1.Framework.Style,System.String)">
          <a class="xref" href="C1.Framework.ParagraphElement.-ctor.html#C1_Framework_ParagraphElement__ctor_C1_Framework_Style_System_String_">ParagraphElement(Style, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ParagraphElement.html">ParagraphElement</a> class with the specified text and style settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement__ctor_System_String_" data-uid="C1.Framework.ParagraphElement.#ctor(System.String)">
          <a class="xref" href="C1.Framework.ParagraphElement.-ctor.html#C1_Framework_ParagraphElement__ctor_System_String_">ParagraphElement(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ParagraphElement.html">ParagraphElement</a> class with the specified text.</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_Framework_ParagraphElement_AddText_System_String_" data-uid="C1.Framework.ParagraphElement.AddText(System.String)">
          <a class="xref" href="C1.Framework.ParagraphElement.AddText.html#C1_Framework_ParagraphElement_AddText_System_String_">AddText(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_AddText_System_String_C1_Framework_Style_" data-uid="C1.Framework.ParagraphElement.AddText(System.String,C1.Framework.Style)">
          <a class="xref" href="C1.Framework.ParagraphElement.AddText.html#C1_Framework_ParagraphElement_AddText_System_String_C1_Framework_Style_">AddText(string, Style)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_AddTextElement_C1_Framework_Style_System_String_System_Boolean_" data-uid="C1.Framework.ParagraphElement.AddTextElement(C1.Framework.Style,System.String,System.Boolean)">
          <a class="xref" href="C1.Framework.ParagraphElement.AddTextElement.html#C1_Framework_ParagraphElement_AddTextElement_C1_Framework_Style_System_String_System_Boolean_">AddTextElement(Style, string, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_BreakAfter_C1_Framework_Element_" data-uid="C1.Framework.ParagraphElement.BreakAfter(C1.Framework.Element)">
          <a class="xref" href="C1.Framework.ParagraphElement.BreakAfter.html#C1_Framework_ParagraphElement_BreakAfter_C1_Framework_Element_">BreakAfter(Element)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_BreakBefore_C1_Framework_Element_System_Int32_System_Int32_" data-uid="C1.Framework.ParagraphElement.BreakBefore(C1.Framework.Element,System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.ParagraphElement.BreakBefore.html#C1_Framework_ParagraphElement_BreakBefore_C1_Framework_Element_System_Int32_System_Int32_">BreakBefore(Element, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether a line break should be inserted before
a given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_BreakBeforeRtl_C1_Framework_Element_System_Int32_System_Int32_" data-uid="C1.Framework.ParagraphElement.BreakBeforeRtl(C1.Framework.Element,System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.ParagraphElement.BreakBeforeRtl.html#C1_Framework_ParagraphElement_BreakBeforeRtl_C1_Framework_Element_System_Int32_System_Int32_">BreakBeforeRtl(Element, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether a line break should be inserted before
a given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_GetExtraSpacing_C1_Framework_Element_C1_Framework_Element_" data-uid="C1.Framework.ParagraphElement.GetExtraSpacing(C1.Framework.Element,C1.Framework.Element)">
          <a class="xref" href="C1.Framework.ParagraphElement.GetExtraSpacing.html#C1_Framework_ParagraphElement_GetExtraSpacing_C1_Framework_Element_C1_Framework_Element_">GetExtraSpacing(Element, Element)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_ParagraphElement_Layout_System_Drawing_Graphics_" data-uid="C1.Framework.ParagraphElement.Layout(System.Drawing.Graphics)">
          <a class="xref" href="C1.Framework.ParagraphElement.Layout.html#C1_Framework_ParagraphElement_Layout_System_Drawing_Graphics_">Layout(Graphics)</a>
        </td>
        <td class="markdown level1 summary"><p>Layout this element based on its style and contents.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
