# FarPoint.Win.Spread.NameBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_NameBox" data-uid="FarPoint.Win.Spread.NameBox" class="text-break">NameBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a NameBox class.</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.listcontrol">ListControl</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.combobox">ComboBox</a></div>
    <div class="level6"><span class="xref">NameBox</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_NameBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(FpSpread), &quot;NameBox.png&quot;)]
public class NameBox : ComboBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(FpSpread), &quot;NameBox.png&quot;)&gt;
Public Class NameBox
    Inherits ComboBox
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</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_Spread_NameBox__ctor" data-uid="FarPoint.Win.Spread.NameBox.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.-ctor.html#FarPoint_Win_Spread_NameBox__ctor">NameBox()</a>
        </td>
        <td class="markdown level1 summary"><p>construct</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_Spread_NameBox_RightToLeft" data-uid="FarPoint.Win.Spread.NameBox.RightToLeft">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.RightToLeft.html#FarPoint_Win_Spread_NameBox_RightToLeft">RightToLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether control's elements are aligned to supportlocales using right-to-left fonts.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_TextAlign" data-uid="FarPoint.Win.Spread.NameBox.TextAlign">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.TextAlign.html#FarPoint_Win_Spread_NameBox_TextAlign">TextAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the text 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_Spread_NameBox_Attach_FarPoint_Win_Spread_FpSpread_" data-uid="FarPoint.Win.Spread.NameBox.Attach(FarPoint.Win.Spread.FpSpread)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.Attach.html#FarPoint_Win_Spread_NameBox_Attach_FarPoint_Win_Spread_FpSpread_">Attach(FpSpread)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the specified Spread component to the name text box.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_CreateHandle" data-uid="FarPoint.Win.Spread.NameBox.CreateHandle">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.CreateHandle.html#FarPoint_Win_Spread_NameBox_CreateHandle">CreateHandle()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a handle for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_Detach" data-uid="FarPoint.Win.Spread.NameBox.Detach">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.Detach.html#FarPoint_Win_Spread_NameBox_Detach">Detach()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the Spread component from the name text box.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_Dispose_System_Boolean_" data-uid="FarPoint.Win.Spread.NameBox.Dispose(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.Dispose.html#FarPoint_Win_Spread_NameBox_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Cleans up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_OnDropDown_System_EventArgs_" data-uid="FarPoint.Win.Spread.NameBox.OnDropDown(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.OnDropDown.html#FarPoint_Win_Spread_NameBox_OnDropDown_System_EventArgs_">OnDropDown(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.ComboBox.DropDown event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_OnDropDownClosed_System_EventArgs_" data-uid="FarPoint.Win.Spread.NameBox.OnDropDownClosed(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.OnDropDownClosed.html#FarPoint_Win_Spread_NameBox_OnDropDownClosed_System_EventArgs_">OnDropDownClosed(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.ComboBox.DropDownClosed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_OnGotFocus_System_EventArgs_" data-uid="FarPoint.Win.Spread.NameBox.OnGotFocus(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.OnGotFocus.html#FarPoint_Win_Spread_NameBox_OnGotFocus_System_EventArgs_">OnGotFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>override the System.Windows.Forms.Control.GotFocus event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_OnLostFocus_System_EventArgs_" data-uid="FarPoint.Win.Spread.NameBox.OnLostFocus(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.OnLostFocus.html#FarPoint_Win_Spread_NameBox_OnLostFocus_System_EventArgs_">OnLostFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.lostfocus">LostFocus</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_OnNameSelectedChanged_FarPoint_Win_Spread_SelectionChangedEventArgs_" data-uid="FarPoint.Win.Spread.NameBox.OnNameSelectedChanged(FarPoint.Win.Spread.SelectionChangedEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.OnNameSelectedChanged.html#FarPoint_Win_Spread_NameBox_OnNameSelectedChanged_FarPoint_Win_Spread_SelectionChangedEventArgs_">OnNameSelectedChanged(SelectionChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the selectionChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_NameBox_WndProc_System_Windows_Forms_Message__" data-uid="FarPoint.Win.Spread.NameBox.WndProc(System.Windows.Forms.Message@)">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.WndProc.html#FarPoint_Win_Spread_NameBox_WndProc_System_Windows_Forms_Message__">WndProc(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes Windows messages.</p>
</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="FarPoint_Win_Spread_NameBox_NameSelectedChanged" data-uid="FarPoint.Win.Spread.NameBox.NameSelectedChanged">
          <a class="xref" href="FarPoint.Win.Spread.NameBox.NameSelectedChanged.html">NameSelectedChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the selectionChanged event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
