[]
        
(Showing Draft Content)

C1.Win.C1Preview.KeyMapStack

KeyMapStack Class

Represents a stack of keymaps used to handle keyboard.

Inheritance
KeyMapStack
Namespace: C1.Win.C1Preview
Assembly: C1.Win.PrintPreview.4.8.dll
Syntax
public class KeyMapStack : List<KeyMap>, IList<KeyMap>, ICollection<KeyMap>, IList, ICollection, IReadOnlyList<KeyMap>, IReadOnlyCollection<KeyMap>, IEnumerable<KeyMap>, IEnumerable
Public Class KeyMapStack
    Inherits List(Of KeyMap)
    Implements IList(Of KeyMap), ICollection(Of KeyMap), IList, ICollection, IReadOnlyList(Of KeyMap), IReadOnlyCollection(Of KeyMap), IEnumerable(Of KeyMap), IEnumerable

Constructors

Name Description
KeyMapStack()

Properties

Name Description
IsEmpty

Gets the value indicating whether the stack is empty.

Methods

Name Description
CanHandle(Keys)

Tests whether the stack contains a keymap that can handle the keystroke.

CanHandle(Keys, out KeyMap)

Tests whether the stack contains a keymap that can handle the keystroke.

FindByTag(object)

Finds a keymap by its tag.

HandleKey(Keys)

Handles a keystroke.

Pop()

Pops the top keymap from the stack.

Push(KeyMap)

Pushes a new keymap on the stack.

Top()

Returns the top keymap.