# C1.WPF.RichTextBox.Documents.C1List

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_Documents_C1List" data-uid="C1.WPF.RichTextBox.Documents.C1List" class="text-break">C1List Class
</h1>
  <div class="markdown level0 summary"><p>A block-level flow content element that provides facilities for presenting content in an ordered or unordered list.</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.Documents.C1TextElement.html">C1TextElement</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.html">C1Block</a></div>
    <div class="level3"><span class="xref">C1List</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.Documents.html">C1.WPF.RichTextBox.Documents</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_C1List_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1List : C1Block, IEnumerable&lt;C1TextElement&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1List
    Inherits C1Block
    Implements IEnumerable(Of C1TextElement), IEnumerable</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_Documents_C1List__ctor" data-uid="C1.WPF.RichTextBox.Documents.C1List.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.-ctor.html#C1_WPF_RichTextBox_Documents_C1List__ctor">C1List()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.html">C1List</a>.</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_RichTextBox_Documents_C1List_MarkerImageProperty" data-uid="C1.WPF.RichTextBox.Documents.C1List.MarkerImageProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerImageProperty.html">MarkerImageProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerImage.html#C1_WPF_RichTextBox_Documents_C1List_MarkerImage">MarkerImage</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_MarkerStyleProperty" data-uid="C1.WPF.RichTextBox.Documents.C1List.MarkerStyleProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerStyleProperty.html">MarkerStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerStyle.html#C1_WPF_RichTextBox_Documents_C1List_MarkerStyle">MarkerStyle</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_MarkerTemplateProperty" data-uid="C1.WPF.RichTextBox.Documents.C1List.MarkerTemplateProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerTemplateProperty.html">MarkerTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerTemplate.html#C1_WPF_RichTextBox_Documents_C1List_MarkerTemplate">MarkerTemplate</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_StartIndexProperty" data-uid="C1.WPF.RichTextBox.Documents.C1List.StartIndexProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.StartIndexProperty.html">StartIndexProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.StartIndex.html#C1_WPF_RichTextBox_Documents_C1List_StartIndex">StartIndex</a> style 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_RichTextBox_Documents_C1List_ListItems" data-uid="C1.WPF.RichTextBox.Documents.C1List.ListItems">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.ListItems.html#C1_WPF_RichTextBox_Documents_C1List_ListItems">ListItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.WPF.RichTextBox.Documents.C1ListItem.html">C1ListItem</a> elements in the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.html">C1List</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_Margin" data-uid="C1.WPF.RichTextBox.Documents.C1List.Margin">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.Margin.html#C1_WPF_RichTextBox_Documents_C1List_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin of a text element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_MarkerImage" data-uid="C1.WPF.RichTextBox.Documents.C1List.MarkerImage">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerImage.html#C1_WPF_RichTextBox_Documents_C1List_MarkerImage">MarkerImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.imaging.bitmapsource">BitmapSource</a> used to draw the markers in the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.html">C1List</a>.
If this property is set, <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerStyle.html#C1_WPF_RichTextBox_Documents_C1List_MarkerStyle">MarkerStyle</a> is ignored.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_MarkerStyle" data-uid="C1.WPF.RichTextBox.Documents.C1List.MarkerStyle">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerStyle.html#C1_WPF_RichTextBox_Documents_C1List_MarkerStyle">MarkerStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.RichTextBox.Documents.TextMarkerStyle.html">TextMarkerStyle</a> used in the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.html">C1List</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_MarkerTemplate" data-uid="C1.WPF.RichTextBox.Documents.C1List.MarkerTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerTemplate.html#C1_WPF_RichTextBox_Documents_C1List_MarkerTemplate">MarkerTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.datatemplate">DataTemplate</a> used to draw the markers in the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.html">C1List</a>.
If this property is set, <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerStyle.html#C1_WPF_RichTextBox_Documents_C1List_MarkerStyle">MarkerStyle</a> and <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerImage.html#C1_WPF_RichTextBox_Documents_C1List_MarkerImage">MarkerImage</a> are ignored.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1List_StartIndex" data-uid="C1.WPF.RichTextBox.Documents.C1List.StartIndex">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.StartIndex.html#C1_WPF_RichTextBox_Documents_C1List_StartIndex">StartIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting index to use when the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.MarkerStyle.html#C1_WPF_RichTextBox_Documents_C1List_MarkerStyle">MarkerStyle</a> is for an ordered list.</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_RichTextBox_Documents_C1List_IsValidChild_System_Type_" data-uid="C1.WPF.RichTextBox.Documents.C1List.IsValidChild(System.Type)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.IsValidChild.html#C1_WPF_RichTextBox_Documents_C1List_IsValidChild_System_Type_">IsValidChild(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a type is a valid child of this <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
