# C1.Win.Touch.TouchProcessor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Touch_TouchProcessor" data-uid="C1.Win.Touch.TouchProcessor" class="text-break">TouchProcessor Class
</h1>
  <div class="markdown level0 summary"><p>Accepts input from a touch device.</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">TouchProcessor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Touch.html">C1.Win.Touch</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Touch_TouchProcessor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TouchProcessor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TouchProcessor</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_Win_Touch_TouchProcessor__ctor_System_Windows_Forms_Control_C1_Win_Touch_HitTestDelegate_" data-uid="C1.Win.Touch.TouchProcessor.#ctor(System.Windows.Forms.Control,C1.Win.Touch.HitTestDelegate)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.-ctor.html#C1_Win_Touch_TouchProcessor__ctor_System_Windows_Forms_Control_C1_Win_Touch_HitTestDelegate_">TouchProcessor(Control, HitTestDelegate)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of TouchProcessor for the given control.</p>
</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="C1_Win_Touch_TouchProcessor_IsSupported" data-uid="C1.Win.Touch.TouchProcessor.IsSupported">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.IsSupported.html">IsSupported</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates if the Windows Touch Technology is available on this platform.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_IsWindows8" data-uid="C1.Win.Touch.TouchProcessor.IsWindows8">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.IsWindows8.html">IsWindows8</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates if the application is running on Windows 8 or upper OS.</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="C1_Win_Touch_TouchProcessor_Enabled" data-uid="C1.Win.Touch.TouchProcessor.Enabled">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.Enabled.html#C1_Win_Touch_TouchProcessor_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the touch processor is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_InertiaIsRunning" data-uid="C1.Win.Touch.TouchProcessor.InertiaIsRunning">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.InertiaIsRunning.html#C1_Win_Touch_TouchProcessor_InertiaIsRunning">InertiaIsRunning</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the inertia is currently processed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_IsCursorSuppressed" data-uid="C1.Win.Touch.TouchProcessor.IsCursorSuppressed">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.IsCursorSuppressed.html#C1_Win_Touch_TouchProcessor_IsCursorSuppressed">IsCursorSuppressed</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates that the system is not drawing the cursor because the user
is providing input through touch or pen instead of the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_MaxTapDisplacement" data-uid="C1.Win.Touch.TouchProcessor.MaxTapDisplacement">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.MaxTapDisplacement.html#C1_Win_Touch_TouchProcessor_MaxTapDisplacement">MaxTapDisplacement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum possible displacement allowable for a tap, in DIPs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_MaxTapDuration" data-uid="C1.Win.Touch.TouchProcessor.MaxTapDuration">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.MaxTapDuration.html#C1_Win_Touch_TouchProcessor_MaxTapDuration">MaxTapDuration</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum allowable duration for a tap, in milliseconds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_UseTimerForInertia" data-uid="C1.Win.Touch.TouchProcessor.UseTimerForInertia">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.UseTimerForInertia.html#C1_Win_Touch_TouchProcessor_UseTimerForInertia">UseTimerForInertia</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the animation timer should be created for processing inertia (true by default).</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_Win_Touch_TouchProcessor_Complete_C1_Win_Touch_ITouchDestination_" data-uid="C1.Win.Touch.TouchProcessor.Complete(C1.Win.Touch.ITouchDestination)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.Complete.html#C1_Win_Touch_TouchProcessor_Complete_C1_Win_Touch_ITouchDestination_">Complete(ITouchDestination)</a>
        </td>
        <td class="markdown level1 summary"><p>Forces to complete the currently running manipulations for the given destination.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_CompleteAll" data-uid="C1.Win.Touch.TouchProcessor.CompleteAll">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.CompleteAll.html#C1_Win_Touch_TouchProcessor_CompleteAll">CompleteAll()</a>
        </td>
        <td class="markdown level1 summary"><p>Forces all currently running manipulations to complete.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_GetTimestamp" data-uid="C1.Win.Touch.TouchProcessor.GetTimestamp">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.GetTimestamp.html#C1_Win_Touch_TouchProcessor_GetTimestamp">GetTimestamp()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the timestamp in 100-nanosecond units.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_GuessFromTouch_System_Drawing_Point_System_Int64_" data-uid="C1.Win.Touch.TouchProcessor.GuessFromTouch(System.Drawing.Point,System.Int64)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.GuessFromTouch.html#C1_Win_Touch_TouchProcessor_GuessFromTouch_System_Drawing_Point_System_Int64_">GuessFromTouch(Point, long)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to guess whether the mouse event being processed came
from the touch device rather than from the mouse or pen.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_GuessFromTouch_System_Int64_" data-uid="C1.Win.Touch.TouchProcessor.GuessFromTouch(System.Int64)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.GuessFromTouch.html#C1_Win_Touch_TouchProcessor_GuessFromTouch_System_Int64_">GuessFromTouch(long)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to guess whether the scroll event being processed came
from the touch device rather than from the mouse or pen.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_HandleMessage_System_Windows_Forms_Message__" data-uid="C1.Win.Touch.TouchProcessor.HandleMessage(System.Windows.Forms.Message@)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.HandleMessage.html#C1_Win_Touch_TouchProcessor_HandleMessage_System_Windows_Forms_Message__">HandleMessage(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes touch-related Windows messages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_IsCursorVisible" data-uid="C1.Win.Touch.TouchProcessor.IsCursorVisible">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.IsCursorVisible.html#C1_Win_Touch_TouchProcessor_IsCursorVisible">IsCursorVisible()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether cursor is hidden because the end-user uses touch or pen instead of mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_ProcessTimerTick_System_Int64_" data-uid="C1.Win.Touch.TouchProcessor.ProcessTimerTick(System.Int64)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.ProcessTimerTick.html#C1_Win_Touch_TouchProcessor_ProcessTimerTick_System_Int64_">ProcessTimerTick(long)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes inertia animation for the specified timestamp.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_SetDpi_System_Single_System_Single_" data-uid="C1.Win.Touch.TouchProcessor.SetDpi(System.Single,System.Single)">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.SetDpi.html#C1_Win_Touch_TouchProcessor_SetDpi_System_Single_System_Single_">SetDpi(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the dots per inch (DPI) for the touch processor.</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_Win_Touch_TouchProcessor_DoubleTap" data-uid="C1.Win.Touch.TouchProcessor.DoubleTap">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.DoubleTap.html">DoubleTap</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user taps the control twice.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_MissedTap" data-uid="C1.Win.Touch.TouchProcessor.MissedTap">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.MissedTap.html">MissedTap</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs if the user taps the control but the touch duration
exceeded MaxTapDuration or the touch point was moved.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_QueryStatus" data-uid="C1.Win.Touch.TouchProcessor.QueryStatus">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.QueryStatus.html">QueryStatus</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before the control starts processing input from
touch device or pen at the given point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_SecondaryTap" data-uid="C1.Win.Touch.TouchProcessor.SecondaryTap">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.SecondaryTap.html">SecondaryTap</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs as a result of the Press and Hold action.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_Tap" data-uid="C1.Win.Touch.TouchProcessor.Tap">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.Tap.html">Tap</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user taps the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Touch_TouchProcessor_Touch" data-uid="C1.Win.Touch.TouchProcessor.Touch">
          <a class="xref" href="C1.Win.Touch.TouchProcessor.Touch.html">Touch</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before processing any manipulations from touch device.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
