# C1.WinUI.Core.C1InputEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Core_C1InputEventArgs" data-uid="C1.WinUI.Core.C1InputEventArgs" class="text-break">C1InputEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Contains information about gesture 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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">C1InputEventArgs</span></div>
      <div class="level3"><a class="xref" href="C1.WinUI.Core.C1DragEventArgs.html">C1DragEventArgs</a></div>
      <div class="level3"><a class="xref" href="C1.WinUI.Core.C1TappedEventArgs.html">C1TappedEventArgs</a></div>
      <div class="level3"><a class="xref" href="C1.WinUI.Core.C1ZoomEventArgs.html">C1ZoomEventArgs</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WinUI.Core.html">C1.WinUI.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Core.dll</h6>
  <h5 id="C1_WinUI_Core_C1InputEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1InputEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1InputEventArgs
    Inherits EventArgs</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_WinUI_Core_C1InputEventArgs__ctor_Microsoft_UI_Xaml_FrameworkElement_Microsoft_UI_Xaml_RoutedEventArgs_" data-uid="C1.WinUI.Core.C1InputEventArgs.#ctor(Microsoft.UI.Xaml.FrameworkElement,Microsoft.UI.Xaml.RoutedEventArgs)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.-ctor.html#C1_WinUI_Core_C1InputEventArgs__ctor_Microsoft_UI_Xaml_FrameworkElement_Microsoft_UI_Xaml_RoutedEventArgs_">C1InputEventArgs(FrameworkElement, RoutedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.html">C1InputEventArgs</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs__ctor_Microsoft_UI_Xaml_FrameworkElement_Microsoft_UI_Xaml_RoutedEventArgs_C1_WinUI_Core_C1PointerDeviceType_" data-uid="C1.WinUI.Core.C1InputEventArgs.#ctor(Microsoft.UI.Xaml.FrameworkElement,Microsoft.UI.Xaml.RoutedEventArgs,C1.WinUI.Core.C1PointerDeviceType)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.-ctor.html#C1_WinUI_Core_C1InputEventArgs__ctor_Microsoft_UI_Xaml_FrameworkElement_Microsoft_UI_Xaml_RoutedEventArgs_C1_WinUI_Core_C1PointerDeviceType_">C1InputEventArgs(FrameworkElement, RoutedEventArgs, C1PointerDeviceType)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.html">C1InputEventArgs</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs__ctor_Microsoft_UI_Xaml_RoutedEventArgs_C1_WinUI_Core_C1PointerDeviceType_" data-uid="C1.WinUI.Core.C1InputEventArgs.#ctor(Microsoft.UI.Xaml.RoutedEventArgs,C1.WinUI.Core.C1PointerDeviceType)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.-ctor.html#C1_WinUI_Core_C1InputEventArgs__ctor_Microsoft_UI_Xaml_RoutedEventArgs_C1_WinUI_Core_C1PointerDeviceType_">C1InputEventArgs(RoutedEventArgs, C1PointerDeviceType)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.html">C1InputEventArgs</a> class.</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_WinUI_Core_C1InputEventArgs_Handled" data-uid="C1.WinUI.Core.C1InputEventArgs.Handled">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.Handled.html#C1_WinUI_Core_C1InputEventArgs_Handled">Handled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that marks the routed event as handled. Setting to true
prevents most handlers along the event route from handling the same event again.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_IsCommandPressed" data-uid="C1.WinUI.Core.C1InputEventArgs.IsCommandPressed">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.IsCommandPressed.html#C1_WinUI_Core_C1InputEventArgs_IsCommandPressed">IsCommandPressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether command key is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_IsCtrlPressed" data-uid="C1.WinUI.Core.C1InputEventArgs.IsCtrlPressed">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.IsCtrlPressed.html#C1_WinUI_Core_C1InputEventArgs_IsCtrlPressed">IsCtrlPressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether ctrl key is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_IsShiftPressed" data-uid="C1.WinUI.Core.C1InputEventArgs.IsShiftPressed">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.IsShiftPressed.html#C1_WinUI_Core_C1InputEventArgs_IsShiftPressed">IsShiftPressed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether shift key is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_OriginalEventArgs" data-uid="C1.WinUI.Core.C1InputEventArgs.OriginalEventArgs">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.OriginalEventArgs.html#C1_WinUI_Core_C1InputEventArgs_OriginalEventArgs">OriginalEventArgs</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the arguments of the original event which raised this event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_OriginalSource" data-uid="C1.WinUI.Core.C1InputEventArgs.OriginalSource">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.OriginalSource.html#C1_WinUI_Core_C1InputEventArgs_OriginalSource">OriginalSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the object that raised the event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_PointerDeviceType" data-uid="C1.WinUI.Core.C1InputEventArgs.PointerDeviceType">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.PointerDeviceType.html#C1_WinUI_Core_C1InputEventArgs_PointerDeviceType">PointerDeviceType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of pointer which performed the action.</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_WinUI_Core_C1InputEventArgs_GetIsHandled_Microsoft_UI_Xaml_RoutedEventArgs_" data-uid="C1.WinUI.Core.C1InputEventArgs.GetIsHandled(Microsoft.UI.Xaml.RoutedEventArgs)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.GetIsHandled.html#C1_WinUI_Core_C1InputEventArgs_GetIsHandled_Microsoft_UI_Xaml_RoutedEventArgs_">GetIsHandled(RoutedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the specified event is handled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_GetPointerType_Microsoft_UI_Xaml_RoutedEventArgs_" data-uid="C1.WinUI.Core.C1InputEventArgs.GetPointerType(Microsoft.UI.Xaml.RoutedEventArgs)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.GetPointerType.html#C1_WinUI_Core_C1InputEventArgs_GetPointerType_Microsoft_UI_Xaml_RoutedEventArgs_">GetPointerType(RoutedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of the pointer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_GetPosition_Microsoft_UI_Xaml_FrameworkElement_" data-uid="C1.WinUI.Core.C1InputEventArgs.GetPosition(Microsoft.UI.Xaml.FrameworkElement)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.GetPosition.html#C1_WinUI_Core_C1InputEventArgs_GetPosition_Microsoft_UI_Xaml_FrameworkElement_">GetPosition(FrameworkElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the position of the pointer performing the drag gesture relatively to the specified element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_GetPosition_Microsoft_UI_Xaml_RoutedEventArgs_Microsoft_UI_Xaml_FrameworkElement_" data-uid="C1.WinUI.Core.C1InputEventArgs.GetPosition(Microsoft.UI.Xaml.RoutedEventArgs,Microsoft.UI.Xaml.FrameworkElement)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.GetPosition.html#C1_WinUI_Core_C1InputEventArgs_GetPosition_Microsoft_UI_Xaml_RoutedEventArgs_Microsoft_UI_Xaml_FrameworkElement_">GetPosition(RoutedEventArgs, FrameworkElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the position of the pointer or finger.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_HitTest__1_System_Double_" data-uid="C1.WinUI.Core.C1InputEventArgs.HitTest``1(System.Double)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.HitTest.html#C1_WinUI_Core_C1InputEventArgs_HitTest__1_System_Double_">HitTest&lt;T&gt;(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the first visual element which is hit by this event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1InputEventArgs_SetIsHandled_Microsoft_UI_Xaml_RoutedEventArgs_System_Boolean_" data-uid="C1.WinUI.Core.C1InputEventArgs.SetIsHandled(Microsoft.UI.Xaml.RoutedEventArgs,System.Boolean)">
          <a class="xref" href="C1.WinUI.Core.C1InputEventArgs.SetIsHandled.html#C1_WinUI_Core_C1InputEventArgs_SetIsHandled_Microsoft_UI_Xaml_RoutedEventArgs_System_Boolean_">SetIsHandled(RoutedEventArgs, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets whether the event is handled.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
