# C1.WPF.Chart.Interaction.IBehavior

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_Interaction_IBehavior" data-uid="C1.WPF.Chart.Interaction.IBehavior" class="text-break">IBehavior Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the behaviors that interact with users.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.Interaction.html">C1.WPF.Chart.Interaction</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Chart.dll</h6>
  <h5 id="C1_WPF_Chart_Interaction_IBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IBehavior</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IBehavior</code></pre>
  </div>
  <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="C1_WPF_Chart_Interaction_IBehavior_Chart" data-uid="C1.WPF.Chart.Interaction.IBehavior.Chart">
          <a class="xref" href="C1.WPF.Chart.Interaction.IBehavior.Chart.html#C1_WPF_Chart_Interaction_IBehavior_Chart">Chart</a>
        </td>
        <td class="markdown level1 summary"><p>Associated chart.</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="C1_WPF_Chart_Interaction_IBehavior_OnAttach" data-uid="C1.WPF.Chart.Interaction.IBehavior.OnAttach">
          <a class="xref" href="C1.WPF.Chart.Interaction.IBehavior.OnAttach.html#C1_WPF_Chart_Interaction_IBehavior_OnAttach">OnAttach()</a>
        </td>
        <td class="markdown level1 summary"><p>Called after the behavior is attached to an associated chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_Interaction_IBehavior_OnDetach" data-uid="C1.WPF.Chart.Interaction.IBehavior.OnDetach">
          <a class="xref" href="C1.WPF.Chart.Interaction.IBehavior.OnDetach.html#C1_WPF_Chart_Interaction_IBehavior_OnDetach">OnDetach()</a>
        </td>
        <td class="markdown level1 summary"><p>Called after the behavior is detached to an associated chart.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
