BarShortcut

References
public sealed class BarShortcut
Maintains fields for key shortcuts to bar elements.

Constructors

BarShortcut

#
public BarShortcut(
c,
info
)

BarShortcut

#
public BarShortcut(
Keys
keys,
info
)

Properties

Char

#
Gets or sets what key char might trigger this element. It is up to the control or form hosting this toolbar element to decide whether or not to actually use this information. If a Keys has been set, the Char property will be set to the null char.
public char Char { get; set; }

Info

#
Gets or sets the explanatory info for the Keys or Char fields. This may be drawn as a suffix in a tooltip.
public string Info { get; set; }

Keys

#
Gets or sets what key(s) might trigger this element. It is up to the control or form hosting this toolbar element to decide whether or not to actually use this information. If a Char has been set, the Keys property will be set to Keys.None.
public Keys Keys { get; set; }

Methods

Matches

#
Check whether key event arguments matches this code.
public bool Matches(
KeyEventArgs
e
)

ToString

#
public override string ToString()
Object.ToString