Xceed DataGrid for WPF v7.2 Documentation
Key Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > KeyActivationGesture Class : Key Property
Gets or sets the key to verify.
Syntax
'Declaration
 
Public Property Key As Key
'Usage
 
Dim instance As KeyActivationGesture
Dim value As Key
 
instance.Key = value
 
value = instance.Key
public Key Key {get; set;}

Property Value

A System.Windows.Input.Key value representing the key to verify.
Remarks
Key and SystemKey will always be equal unless the ALT modifier key is pressed. In that case, Key will be equal to Key.SystemKey, Modifiers will be equal to ALT, and SystemKey will be equal to the key that was pressed.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

KeyActivationGesture Class
KeyActivationGesture Members