# C1.WPF.PropertyGrid.StringEditor-1.Attach

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_PropertyGrid_StringEditor_1_Attach_" data-uid="C1.WPF.PropertyGrid.StringEditor`1.Attach*">Attach Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_PropertyGrid_StringEditor_1_Attach_" data-uid="C1.WPF.PropertyGrid.StringEditor`1.Attach*"></a>
<h4 id="C1_WPF_PropertyGrid_StringEditor_1_Attach_C1_WPF_Input_C1TextBox_C1_WPF_PropertyGrid_PropertyGroup_System_Action_C1_WPF_Input_C1TextBox_System_Object__" data-uid="C1.WPF.PropertyGrid.StringEditor`1.Attach(C1.WPF.Input.C1TextBox,C1.WPF.PropertyGrid.PropertyGroup,System.Action{C1.WPF.Input.C1TextBox,System.Object})">Attach(C1TextBox, PropertyGroup, Action&lt;C1TextBox, object&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void Attach(C1TextBox textBox, PropertyGroup group, Action&lt;C1TextBox, object&gt; valueChanged)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub Attach(textBox As C1TextBox, group As PropertyGroup, valueChanged As Action(Of C1TextBox, Object))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">C1TextBox</span></td>
      <td><span class="parametername">textBox</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.PropertyGrid.PropertyGroup.html">PropertyGroup</a></td>
      <td><span class="parametername">group</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-2">Action</a>&lt;<span class="xref">C1TextBox</span>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</td>
      <td><span class="parametername">valueChanged</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.WPF.PropertyGrid.BaseEditor-2.Attach.html#C1_WPF_PropertyGrid_BaseEditor_2_Attach__1_C1_WPF_PropertyGrid_PropertyGroup_System_Action__1_System_Object__">BaseEditor&lt;T, C1TextBox&gt;.Attach(C1TextBox, PropertyGroup, Action&lt;C1TextBox, object&gt;)</a></div>
</div>
