# C1.WPF.C1TapHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1TapHelper" data-uid="C1.WPF.C1TapHelper" class="text-break">C1TapHelper Class
</h1>
  <div class="markdown level0 summary"><p>Cross-platform helper for listening to tapped and double-tapped events.</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"><span class="xref">C1TapHelper</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1TapHelper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1TapHelper</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1TapHelper</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="C1_WPF_C1TapHelper__ctor_System_Windows_UIElement_System_Boolean_" data-uid="C1.WPF.C1TapHelper.#ctor(System.Windows.UIElement,System.Boolean)">
          <a class="xref" href="C1.WPF.C1TapHelper.-ctor.html#C1_WPF_C1TapHelper__ctor_System_Windows_UIElement_System_Boolean_">C1TapHelper(UIElement, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1TapHelper.html">C1TapHelper</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TapHelper__ctor_System_Windows_UIElement_System_Boolean_System_Boolean_" data-uid="C1.WPF.C1TapHelper.#ctor(System.Windows.UIElement,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.WPF.C1TapHelper.-ctor.html#C1_WPF_C1TapHelper__ctor_System_Windows_UIElement_System_Boolean_System_Boolean_">C1TapHelper(UIElement, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1TapHelper.html">C1TapHelper</a> class which only handles Tap event and optionally DoubleTap event.</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_C1TapHelper_FinalizeHelper" data-uid="C1.WPF.C1TapHelper.FinalizeHelper">
          <a class="xref" href="C1.WPF.C1TapHelper.FinalizeHelper.html#C1_WPF_C1TapHelper_FinalizeHelper">FinalizeHelper()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches all the events handlers.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1TapHelper_DoubleTapped" data-uid="C1.WPF.C1TapHelper.DoubleTapped">
          <a class="xref" href="C1.WPF.C1TapHelper.DoubleTapped.html">DoubleTapped</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the element is double-tapped (double-clicked if performed with the mouse).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TapHelper_Holding" data-uid="C1.WPF.C1TapHelper.Holding">
          <a class="xref" href="C1.WPF.C1TapHelper.Holding.html">Holding</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a Hold gesture is performed over the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TapHelper_RightTapped" data-uid="C1.WPF.C1TapHelper.RightTapped">
          <a class="xref" href="C1.WPF.C1TapHelper.RightTapped.html">RightTapped</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the element is tapped with right mouse button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1TapHelper_Tapped" data-uid="C1.WPF.C1TapHelper.Tapped">
          <a class="xref" href="C1.WPF.C1TapHelper.Tapped.html">Tapped</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the element is tapped (clicked if performed with the mouse).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
