# FarPoint.Win.InputTextBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_InputTextBox" data-uid="FarPoint.Win.InputTextBox" class="text-break">InputTextBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a text editor in the edit control.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textbox">TextBox</a></div>
    <div class="level6"><a class="xref" href="FarPoint.Win.SuperEdit.SEditTextBox.html">SEditTextBox</a></div>
    <div class="level7"><span class="xref">InputTextBox</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="FarPoint.Win.SuperEdit.IEditorValidator.html">IEditorValidator</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_InputTextBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputTextBox : SEditTextBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorValidator</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputTextBox
    Inherits SEditTextBox
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorValidator</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="FarPoint_Win_InputTextBox__ctor" data-uid="FarPoint.Win.InputTextBox.#ctor">
          <a class="xref" href="FarPoint.Win.InputTextBox.-ctor.html#FarPoint_Win_InputTextBox__ctor">InputTextBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a text editor (input text box).</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="FarPoint_Win_InputTextBox_EditModeCursorPosition" data-uid="FarPoint.Win.InputTextBox.EditModeCursorPosition">
          <a class="xref" href="FarPoint.Win.InputTextBox.EditModeCursorPosition.html#FarPoint_Win_InputTextBox_EditModeCursorPosition">EditModeCursorPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the pointer in the control when it receives the focus.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_LastCaretPos" data-uid="FarPoint.Win.InputTextBox.LastCaretPos">
          <a class="xref" href="FarPoint.Win.InputTextBox.LastCaretPos.html#FarPoint_Win_InputTextBox_LastCaretPos">LastCaretPos</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the last caret position.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_Value" data-uid="FarPoint.Win.InputTextBox.Value">
          <a class="xref" href="FarPoint.Win.InputTextBox.Value.html#FarPoint_Win_InputTextBox_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value in the control.</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="FarPoint_Win_InputTextBox_IsInputChar_System_Char_" data-uid="FarPoint.Win.InputTextBox.IsInputChar(System.Char)">
          <a class="xref" href="FarPoint.Win.InputTextBox.IsInputChar.html#FarPoint_Win_InputTextBox_IsInputChar_System_Char_">IsInputChar(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether a character is an input character that the control recognizes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnAdvance_System_EventArgs_" data-uid="FarPoint.Win.InputTextBox.OnAdvance(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnAdvance.html#FarPoint_Win_InputTextBox_OnAdvance_System_EventArgs_">OnAdvance(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs on focus advance.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnGotFocus_System_EventArgs_" data-uid="FarPoint.Win.InputTextBox.OnGotFocus(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnGotFocus.html#FarPoint_Win_InputTextBox_OnGotFocus_System_EventArgs_">OnGotFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when focus is received.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnLostFocus_System_EventArgs_" data-uid="FarPoint.Win.InputTextBox.OnLostFocus(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnLostFocus.html#FarPoint_Win_InputTextBox_OnLostFocus_System_EventArgs_">OnLostFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when focus is lost.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.InputTextBox.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnMouseDown.html#FarPoint_Win_InputTextBox_OnMouseDown_System_Windows_Forms_MouseEventArgs_">OnMouseDown(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="FarPoint.Win.ElementWindowless.MouseDown.html">MouseDown</a> event when the
pointer button is pressed while the cursor is over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnMouseMove_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.InputTextBox.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnMouseMove.html#FarPoint_Win_InputTextBox_OnMouseMove_System_Windows_Forms_MouseEventArgs_">OnMouseMove(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="FarPoint.Win.ElementWindowless.MouseDown.html">MouseDown</a> event when the
pointer button is pressed while the cursor is over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnPaint_System_Windows_Forms_PaintEventArgs_" data-uid="FarPoint.Win.InputTextBox.OnPaint(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnPaint.html#FarPoint_Win_InputTextBox_OnPaint_System_Windows_Forms_PaintEventArgs_">OnPaint(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when painted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnPaintBackground_System_Windows_Forms_PaintEventArgs_" data-uid="FarPoint.Win.InputTextBox.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnPaintBackground.html#FarPoint_Win_InputTextBox_OnPaintBackground_System_Windows_Forms_PaintEventArgs_">OnPaintBackground(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when background is painted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnTextChanged_System_EventArgs_" data-uid="FarPoint.Win.InputTextBox.OnTextChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnTextChanged.html#FarPoint_Win_InputTextBox_OnTextChanged_System_EventArgs_">OnTextChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.Control.TextChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_OnUserError_FarPoint_Win_SuperEdit_UserErrorEventArgs_" data-uid="FarPoint.Win.InputTextBox.OnUserError(FarPoint.Win.SuperEdit.UserErrorEventArgs)">
          <a class="xref" href="FarPoint.Win.InputTextBox.OnUserError.html#FarPoint_Win_InputTextBox_OnUserError_FarPoint_Win_SuperEdit_UserErrorEventArgs_">OnUserError(UserErrorEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs on user error.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_ProcessKeyMessage_System_Windows_Forms_Message__" data-uid="FarPoint.Win.InputTextBox.ProcessKeyMessage(System.Windows.Forms.Message@)">
          <a class="xref" href="FarPoint.Win.InputTextBox.ProcessKeyMessage.html#FarPoint_Win_InputTextBox_ProcessKeyMessage_System_Windows_Forms_Message__">ProcessKeyMessage(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the key message.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_InputTextBox_SetTextNoUndo_System_String_" data-uid="FarPoint.Win.InputTextBox.SetTextNoUndo(System.String)">
          <a class="xref" href="FarPoint.Win.InputTextBox.SetTextNoUndo.html#FarPoint_Win_InputTextBox_SetTextNoUndo_System_String_">SetTextNoUndo(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the text editor to not allow undo.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
