[]
        
(Showing Draft Content)

C1.WinUI.Core.C1TappedEventArgs.-ctor

C1TappedEventArgs Constructor

C1TappedEventArgs(FrameworkElement, RoutedEventArgs, bool, bool)

Initializes a new instance of the C1TappedEventArgs class.

Declaration
public C1TappedEventArgs(FrameworkElement element, RoutedEventArgs originalArgs, bool isRightTapped = false, bool isDown = true)
Parameters
Type Name Description
FrameworkElement element

Element where the gesture is being listened.

RoutedEventArgs originalArgs

The Microsoft.UI.Xaml.RoutedEventArgs instance containing the event data.

bool isRightTapped

if set to true the event was performed with the right button of the mouse.

bool isDown

if set to true the event was performed with the mouse down.

C1TappedEventArgs(FrameworkElement, RoutedEventArgs, C1PointerDeviceType, bool, bool)

Initializes a new instance of the C1TappedEventArgs class.

Declaration
public C1TappedEventArgs(FrameworkElement element, RoutedEventArgs originalArgs, C1PointerDeviceType pointerType, bool isRightTapped = false, bool isDown = true)
Parameters
Type Name Description
FrameworkElement element

Element where the gesture is being listened.

RoutedEventArgs originalArgs

The Microsoft.UI.Xaml.RoutedEventArgs instance containing the event data.

C1PointerDeviceType pointerType

the type of event that originated the gesture.

bool isRightTapped

if set to true the event was performed with the right button of the mouse.

bool isDown

if set to true the event was performed with the mouse down.