# C1.WPF.RichTextBox.C1BoxView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1BoxView" data-uid="C1.WPF.RichTextBox.C1BoxView" class="text-break">C1BoxView Class
</h1>
  <div class="markdown level0 summary"><p>A <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a> that handles the layout and painting
for <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.Margin.html#C1_WPF_RichTextBox_Documents_C1TextElement_Margin">Margin</a>, <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.Padding.html#C1_WPF_RichTextBox_Documents_C1TextElement_Padding">Padding</a>
and <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.BorderThickness.html#C1_WPF_RichTextBox_Documents_C1TextElement_BorderThickness">BorderThickness</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="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a></div>
    <div class="level2"><span class="xref">C1BoxView</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.html">C1.WPF.RichTextBox</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_C1BoxView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1BoxView : C1TextElementView</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1BoxView
    Inherits C1TextElementView</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_RichTextBox_C1BoxView__ctor_C1_WPF_RichTextBox_C1TextElementView_" data-uid="C1.WPF.RichTextBox.C1BoxView.#ctor(C1.WPF.RichTextBox.C1TextElementView)">
          <a class="xref" href="C1.WPF.RichTextBox.C1BoxView.-ctor.html#C1_WPF_RichTextBox_C1BoxView__ctor_C1_WPF_RichTextBox_C1TextElementView_">C1BoxView(C1TextElementView)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <a class="xref" href="C1.WPF.RichTextBox.C1BoxView.html">C1BoxView</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
