# C1.WPF.SpellChecker.CharRange

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_SpellChecker_CharRange" data-uid="C1.WPF.SpellChecker.CharRange" class="text-break">CharRange Class
</h1>
  <div class="markdown level0 summary"><p>Class that represents a character range within a string.
This is used by the <a class="xref" href="C1.WPF.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> control to represent the
spelling mistakes found in text.</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"><span class="xref">CharRange</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">ICharRange</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.SpellChecker.html">C1.WPF.SpellChecker</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.SpellChecker.4.6.2.dll</h6>
  <h5 id="C1_WPF_SpellChecker_CharRange_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CharRange : ICharRange</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CharRange
    Implements ICharRange</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_SpellChecker_CharRange__ctor_System_String_System_Int32_System_Boolean_" data-uid="C1.WPF.SpellChecker.CharRange.#ctor(System.String,System.Int32,System.Boolean)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.-ctor.html#C1_WPF_SpellChecker_CharRange__ctor_System_String_System_Int32_System_Boolean_">CharRange(string, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a>.</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_SpellChecker_CharRange_Duplicate" data-uid="C1.WPF.SpellChecker.CharRange.Duplicate">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.Duplicate.html#C1_WPF_SpellChecker_CharRange_Duplicate">Duplicate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> contains the same string as the previous one.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_End" data-uid="C1.WPF.SpellChecker.CharRange.End">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.End.html#C1_WPF_SpellChecker_CharRange_End">End</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the end index of the string represented by this <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_Length" data-uid="C1.WPF.SpellChecker.CharRange.Length">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.Length.html#C1_WPF_SpellChecker_CharRange_Length">Length</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the length of the string represented by this <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_Start" data-uid="C1.WPF.SpellChecker.CharRange.Start">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.Start.html#C1_WPF_SpellChecker_CharRange_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the starting index of the string represented by this <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> within the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_Text" data-uid="C1.WPF.SpellChecker.CharRange.Text">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.Text.html#C1_WPF_SpellChecker_CharRange_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the string represented by this <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a>.</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_SpellChecker_CharRange_Equals_System_Object_" data-uid="C1.WPF.SpellChecker.CharRange.Equals(System.Object)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.Equals.html#C1_WPF_SpellChecker_CharRange_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> is equal to another.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_ExpandOverWhitespace_System_String_C1_WPF_SpellChecker_CharRange_" data-uid="C1.WPF.SpellChecker.CharRange.ExpandOverWhitespace(System.String,C1.WPF.SpellChecker.CharRange)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.ExpandOverWhitespace.html#C1_WPF_SpellChecker_CharRange_ExpandOverWhitespace_System_String_C1_WPF_SpellChecker_CharRange_">ExpandOverWhitespace(string, CharRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Extends a <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> over whitespace.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_GetHashCode" data-uid="C1.WPF.SpellChecker.CharRange.GetHashCode">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.GetHashCode.html#C1_WPF_SpellChecker_CharRange_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for the <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_GetNextWord_System_String_System_Int32_C1_WPF_SpellChecker_IgnoreOptions_System_String_" data-uid="C1.WPF.SpellChecker.CharRange.GetNextWord(System.String,System.Int32,C1.WPF.SpellChecker.IgnoreOptions,System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.GetNextWord.html#C1_WPF_SpellChecker_CharRange_GetNextWord_System_String_System_Int32_C1_WPF_SpellChecker_IgnoreOptions_System_String_">GetNextWord(string, int, IgnoreOptions, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next word in a string, starting from a given position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_GetWordAt_System_String_System_Int32_C1_WPF_SpellChecker_IgnoreOptions_" data-uid="C1.WPF.SpellChecker.CharRange.GetWordAt(System.String,System.Int32,C1.WPF.SpellChecker.IgnoreOptions)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.GetWordAt.html#C1_WPF_SpellChecker_CharRange_GetWordAt_System_String_System_Int32_C1_WPF_SpellChecker_IgnoreOptions_">GetWordAt(string, int, IgnoreOptions)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the word at a given position in the string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRange_IsWordCharacter_System_Char_" data-uid="C1.WPF.SpellChecker.CharRange.IsWordCharacter(System.Char)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRange.IsWordCharacter.html#C1_WPF_SpellChecker_CharRange_IsWordCharacter_System_Char_">IsWordCharacter(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether a character is spell-checkable.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
