# GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress

## Content

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



  <h1 id="GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress" data-uid="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress" class="text-break">UpdateSourceOnKeyPress Class
</h1>
  <div class="markdown level0 summary"><p>Represents a behavior that enforces passing the bound Text property from View to ViewModel.</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.Behavior-1.html">Behavior</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.textbox">TextBox</a>&gt;</div>
    <div class="level4"><span class="xref">UpdateSourceOnKeyPress</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.html">GrapeCity.ActiveReports.Framework.Implementation</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class UpdateSourceOnKeyPress : Behavior&lt;TextBox&gt;, IBehavior</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_Framework_Implementation_UpdateSourceOnKeyPress__ctor" data-uid="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.-ctor.html#GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress__ctor">UpdateSourceOnKeyPress()</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="GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_UpdateOnProperty" data-uid="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.UpdateOnProperty">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.UpdateOnProperty.html">UpdateOnProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.UpdateOn.html#GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_UpdateOn">UpdateOn</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="GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_UpdateOn" data-uid="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.UpdateOn">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.UpdateOn.html#GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_UpdateOn">UpdateOn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the update trigger.</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_Framework_Implementation_UpdateSourceOnKeyPress_Attach_System_Windows_Controls_TextBox_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.Attach(System.Windows.Controls.TextBox)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.Attach.html#GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_Attach_System_Windows_Controls_TextBox_">Attach(TextBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the behavior to specified host.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_Detach_System_Windows_Controls_TextBox_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.Detach(System.Windows.Controls.TextBox)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.UpdateSourceOnKeyPress.Detach.html#GrapeCity_ActiveReports_Framework_Implementation_UpdateSourceOnKeyPress_Detach_System_Windows_Controls_TextBox_">Detach(TextBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the behavior from specified host.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
