PointerRoutedEventArgs.KeyModifiers Property

Definition

Gets a value that indicates which key modifiers were active at the time that the pointer event was initiated.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.PointerRoutedEventArgs.KeyModifiers.

public:
 property VirtualKeyModifiers KeyModifiers { VirtualKeyModifiers get(); };
VirtualKeyModifiers KeyModifiers();
public VirtualKeyModifiers KeyModifiers { get; }
var virtualKeyModifiers = pointerRoutedEventArgs.keyModifiers;
Public ReadOnly Property KeyModifiers As VirtualKeyModifiers

Property Value

VirtualKeyModifiers

A value or values of the enumeration.

Applies to