[]
        
(Showing Draft Content)

C1.Win.C1Preview.KeyMap

KeyMap Class

Represents a keymap used to map keystrokes to actions.

Inheritance
KeyMap
Namespace: C1.Win.C1Preview
Assembly: C1.Win.PrintPreview.8.dll
Syntax
public class KeyMap : Hashtable, IDictionary, ICollection, IEnumerable, ISerializable, IDeserializationCallback, ICloneable

Constructors

Name Description
KeyMap()

Properties

Name Description
Tag

Gets or sets user data associated with the keymap.

Methods

Name Description
AddHandler(Keys, DoAction)

Adds a handler to the keymap.

CanHandle(Keys)

Tests whether the current keymap can handle the keystroke.

ClearHandler(Keys)

Removes the handler for the specified keystroke from the keymap.

HandleKey(Keys)

Invokes the handler for the specified keystroke.

SetHandler(Keys, DoAction)

Sets a handler to an existing key.