# C1.Xamarin.Forms.Input.C1MaskedEntry

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Xamarin_Forms_Input_C1MaskedEntry" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry" class="text-break">C1MaskedEntry Class
</h1>
  <div class="markdown level0 summary"><p>Masked editor provides a way to govern what a user is allowed to input.
The control prevents users from accidentally entering invalid data and saves time by skipping over literals (such as slashes in dates) as the user types.</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">C1MaskedEntry</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Xamarin.Forms.Input.html">C1.Xamarin.Forms.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Xamarin.Forms.Input.dll</h6>
  <h5 id="C1_Xamarin_Forms_Input_C1MaskedEntry_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1MaskedEntry : Entry</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_Xamarin_Forms_Input_C1MaskedEntry__ctor" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.#ctor">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.-ctor.html#C1_Xamarin_Forms_Input_C1MaskedEntry__ctor">C1MaskedEntry()</a>
        </td>
        <td class="markdown level1 summary"></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_Xamarin_Forms_Input_C1MaskedEntry_MaskProperty" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.MaskProperty">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.MaskProperty.html">MaskProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.Mask.html#C1_Xamarin_Forms_Input_C1MaskedEntry_Mask">Mask</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_PlaceholderColorProperty" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.PlaceholderColorProperty">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.PlaceholderColorProperty.html">PlaceholderColorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.PlaceholderColor.html#C1_Xamarin_Forms_Input_C1MaskedEntry_PlaceholderColor">PlaceholderColor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_PromptCharProperty" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.PromptCharProperty">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.PromptCharProperty.html">PromptCharProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.PromptChar.html#C1_Xamarin_Forms_Input_C1MaskedEntry_PromptChar">PromptChar</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_ShowClearButtonProperty" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.ShowClearButtonProperty">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.ShowClearButtonProperty.html">ShowClearButtonProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.ShowClearButton.html#C1_Xamarin_Forms_Input_C1MaskedEntry_ShowClearButton">ShowClearButton</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_ValueProperty" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.ValueProperty">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.ValueProperty.html">ValueProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.Value.html#C1_Xamarin_Forms_Input_C1MaskedEntry_Value">Value</a> dependency 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_Xamarin_Forms_Input_C1MaskedEntry_Mask" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.Mask">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.Mask.html#C1_Xamarin_Forms_Input_C1MaskedEntry_Mask">Mask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mask used to validate input as the user types. The mask must be a string composed of one or more of the masking elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_MaskCompleted" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.MaskCompleted">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.MaskCompleted.html#C1_Xamarin_Forms_Input_C1MaskedEntry_MaskCompleted">MaskCompleted</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether show clear button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_PlaceholderColor" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.PlaceholderColor">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.PlaceholderColor.html#C1_Xamarin_Forms_Input_C1MaskedEntry_PlaceholderColor">PlaceholderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the Placeholder in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_PromptChar" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.PromptChar">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.PromptChar.html#C1_Xamarin_Forms_Input_C1MaskedEntry_PromptChar">PromptChar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the symbol used to show input positions in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_ShowClearButton" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.ShowClearButton">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.ShowClearButton.html#C1_Xamarin_Forms_Input_C1MaskedEntry_ShowClearButton">ShowClearButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether show clear button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_Value" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.Value">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.Value.html#C1_Xamarin_Forms_Input_C1MaskedEntry_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the raw value of the control (excluding prompt and mask literals)</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_Xamarin_Forms_Input_C1MaskedEntry_OnCompleted_C1_Xamarin_Forms_Input_CompletedEventArgs_" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.OnCompleted(C1.Xamarin.Forms.Input.CompletedEventArgs)">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.OnCompleted.html#C1_Xamarin_Forms_Input_C1MaskedEntry_OnCompleted_C1_Xamarin_Forms_Input_CompletedEventArgs_">OnCompleted(CompletedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">Completed</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_UpdateLayoutDirection_Xamarin_Forms_FlowDirection_" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.UpdateLayoutDirection(Xamarin.Forms.FlowDirection)">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.UpdateLayoutDirection.html#C1_Xamarin_Forms_Input_C1MaskedEntry_UpdateLayoutDirection_Xamarin_Forms_FlowDirection_">UpdateLayoutDirection(FlowDirection)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_Completed" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.Completed">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.Completed.html">Completed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user finalizes the text in an entry with the return key.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Input_C1MaskedEntry_TextChanged" data-uid="C1.Xamarin.Forms.Input.C1MaskedEntry.TextChanged">
          <a class="xref" href="C1.Xamarin.Forms.Input.C1MaskedEntry.TextChanged.html">TextChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the text property changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
