In This Article

BarKeyTypedEventArgs Class

Provides data for the KeyTyped event.

public class BarKeyTypedEventArgs : CancelEventArgs
Inheritance:
object EventArgs CancelEventArgs object

Constructors

BarKeyTypedEventArgs(Keys, Keys, BarCommand)

Initializes a new instance of the BarCommandLinkEventArgs class.

public BarKeyTypedEventArgs(Keys chordKey, Keys key, BarCommand command)
Parameter Type Description
chordKey Keys

A Keys indicating the virtual key that was previously typed that started a chord.

key Keys

A Keys indicating the virtual key that was just typed.

command BarCommand

The BarCommand that will be executed if this event if default processing is not cancelled.

Properties

ChordKey

Gets a Keys indicating the virtual key that was previously typed that started a chord.

public Keys ChordKey { get; }

Property Value

Keys:

A Keys indicating the virtual key that was previously typed that started a chord.

Remarks

If no chord was started, this value will be Keys.None.

Command

Gets the BarCommand that will be executed if this event if default processing is not cancelled.

public BarCommand Command { get; }

Property Value

BarCommand:

The BarCommand that will be executed if this event if default processing is not cancelled.

Key

Gets a Keys indicating the virtual key that was just typed.

public Keys Key { get; }

Property Value

Keys:

A Keys indicating the virtual key that was just typed.

Inherited Members