# GrapeCity.ActiveReports.PageReportModel.TextBox

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_TextBox" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox" class="text-break">TextBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a textbox <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a> within the report definition.</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="GrapeCity.ActiveReports.PageReportModel.ReportComponent.html">ReportComponent</a></div>
    <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a></div>
    <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextItem.html">TextItem</a></div>
    <div class="level6"><span class="xref">TextBox</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IReportComponent.html">IReportComponent</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="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_TextBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class TextBox : TextItem, IReportComponent, IComponent, IDisposable, IValidateable</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_PageReportModel_TextBox__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.-ctor.html#GrapeCity_ActiveReports_PageReportModel_TextBox__ctor">TextBox()</a>
        </td>
        <td class="markdown level1 summary"></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="GrapeCity_ActiveReports_PageReportModel_TextBox_CanGrow" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.CanGrow">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.CanGrow.html#GrapeCity_ActiveReports_PageReportModel_TextBox_CanGrow">CanGrow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the textbox size can increase to accommodate its contents.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_TextBox_CanShrink" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.CanShrink">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.CanShrink.html#GrapeCity_ActiveReports_PageReportModel_TextBox_CanShrink">CanShrink</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the textbox size can decrease to match its contents.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.HideDuplicates">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.HideDuplicates.html#GrapeCity_ActiveReports_PageReportModel_TextBox_HideDuplicates">HideDuplicates</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a name of a grouping or data set within which to hide the item when the expression's value matches the preceding instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_TextBox_ToggleImage" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.ToggleImage">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.ToggleImage.html#GrapeCity_ActiveReports_PageReportModel_TextBox_ToggleImage">ToggleImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the initial state of a toggle image, if present in the textbox. The image displays a plus sign (+)
for collapsed state and a minus sign (-) for expanded state.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_TextBox_UserSort" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.UserSort">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.UserSort.html#GrapeCity_ActiveReports_PageReportModel_TextBox_UserSort">UserSort</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the end-user sort control should be displayed in the textbox UI.</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="GrapeCity_ActiveReports_PageReportModel_TextBox_GetExpressions" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.GetExpressions">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.GetExpressions.html#GrapeCity_ActiveReports_PageReportModel_TextBox_GetExpressions">GetExpressions()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a list of the expressions contained by this report item.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_TextBox_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.TextBox.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.Validate.html#GrapeCity_ActiveReports_PageReportModel_TextBox_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_">Validate(ValidationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the current state of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextBox.html">TextBox</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportSectionFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportSectionFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportSectionFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.IsContentPlaceHolder.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_IsContentPlaceHolder_GrapeCity_ActiveReports_PageReportModel_ReportItem_">RomUtils.IsContentPlaceHolder(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportExtensions.GetSelfAndAllDescendants.html#GrapeCity_ActiveReports_Rdl_Tools_ReportExtensions_GetSelfAndAllDescendants_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportExtensions.GetSelfAndAllDescendants(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.GetReportItemTypeName.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_GetReportItemTypeName_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportItemExtensions.GetReportItemTypeName(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.Clone.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_Clone__1___0_">ReportItemExtensions.Clone&lt;TItem&gt;(TItem)</a>
  </div>

</div>
