# GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault

## Content

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



  <h1 id="GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault" data-uid="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault" class="text-break">TextBoxAdapterWithDefault Class
</h1>
  <div class="markdown level0 summary"><p>Provides a specialized adapter for a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textbox">TextBox</a> control that supports a default value.</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">ControlAdapter</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div class="level2"><span class="xref">TextBoxAdapterWithDefault</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.html">GrapeCity.ActiveReports.Design.DataBindingWizard.Views</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Design.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class TextBoxAdapterWithDefault : ControlAdapter&lt;string&gt;, 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="GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault__ctor_System_Windows_Forms_TextBox_" data-uid="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.#ctor(System.Windows.Forms.TextBox)">
          <a class="xref" href="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.-ctor.html#GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault__ctor_System_Windows_Forms_TextBox_">TextBoxAdapterWithDefault(TextBox)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault__ctor_System_Windows_Forms_TextBox_System_Boolean_" data-uid="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.#ctor(System.Windows.Forms.TextBox,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.-ctor.html#GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault__ctor_System_Windows_Forms_TextBox_System_Boolean_">TextBoxAdapterWithDefault(TextBox, bool)</a>
        </td>
        <td class="markdown level1 summary"></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="GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault_Dispose" data-uid="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.Dispose.html#GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Child classes should use this method to unsubscribe from events and perform cleanup.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault_SetValueImpl_System_String_" data-uid="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.SetValueImpl(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Design.DataBindingWizard.Views.TextBoxAdapterWithDefault.SetValueImpl.html#GrapeCity_ActiveReports_Design_DataBindingWizard_Views_TextBoxAdapterWithDefault_SetValueImpl_System_String_">SetValueImpl(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
