In This Article

KeyBinding Class

Represents a key binding.

public class KeyBinding
Inheritance:
object object

Constructors

KeyBinding(ModifierKeys, Keys)

Represents a key binding.

public KeyBinding(ModifierKeys modifiers, Keys key)
Parameter Type Description
modifiers ModifierKeys

The modifier keys.

key Keys

The key.

Properties

Key

The key.

public Keys Key { get; }

Property Value

Keys

Modifiers

The modifier keys.

public ModifierKeys Modifiers { get; }

Property Value

ModifierKeys

Inherited Members

Extension Methods