# C1.Android.Core.C1Behavior-1.Attach

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Android_Core_C1Behavior_1_Attach_" data-uid="C1.Android.Core.C1Behavior`1.Attach*">Attach Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Android_Core_C1Behavior_1_Attach_" data-uid="C1.Android.Core.C1Behavior`1.Attach*"></a>
<h4 id="C1_Android_Core_C1Behavior_1_Attach__0_" data-uid="C1.Android.Core.C1Behavior`1.Attach(`0)">Attach(T)</h4>
<div class="markdown level1 summary"><p>Attaches the behavior to a <span class="xref">Android.Views.View</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Attach(T view)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Attach(view As T)</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">T</span></td>
      <td><span class="parametername">view</span></td>
      <td><p>The view to which the behavior is attached.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
