# C1.WPF.MaskFormat

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_MaskFormat" data-uid="C1.WPF.MaskFormat" class="text-break">MaskFormat Enum
</h1>
  <div class="markdown level0 summary"><p>Defines how to format the value inside of a <a class="xref" href="C1.WPF.C1MaskedTextBox.html">C1MaskedTextBox</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_MaskFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum MaskFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum MaskFormat</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_WPF_MaskFormat_ExcludePromptAndLiterals">ExcludePromptAndLiterals</td>
        <td><p>Return only text input by the user.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MaskFormat_IncludeLiterals">IncludeLiterals</td>
        <td><p>Return text input by the user as well as any literal characters defined in the mask.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MaskFormat_IncludePrompt">IncludePrompt</td>
        <td><p>Return text input by the user as well as any instances of the prompt character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_MaskFormat_IncludePromptAndLiterals">IncludePromptAndLiterals</td>
        <td><p>Return text input by the user as well as any literal characters defined in the mask and any instances of the prompt character.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
