Table of Contents

Interface IKeyList

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

Represents list of key or its combinations with attached actions.

public interface IKeyList

Properties

EventData

When implemented by a class, represents array of event handlers associated with keys.

Handlers

When implemented by a class, represents an event handlers collection which contains elements that can be used as a particular action attached to key or key combination from the IKeyList.

Methods

Add(Keys, KeyEvent)

When implemented by a class, adds a new key to key collection with specified action.

Add(Keys, KeyEvent, int, int)

When implemented by a class, adds a new key to key collection with specified parameters.

Add(Keys, KeyEventEx, object)

When implemented by a class, adds a new key to key collection with specified parameters.

Add(Keys, KeyEventEx, object, int, int)

When implemented by a class, adds a new key to key collection with specified parameters.

AddNormal(Keys, KeyEvent)

When implemented by a class, adds a new key to key collection with specified parameters and default (normal) state and leave state.

AddNormal(Keys, KeyEventEx, object)

When implemented by a class, adds a new key to key collection with specified parameters and default (normal) state and leave state.

Clear()

When implemented by a class, removes all elements from the key list.

ExecuteKey(Keys, ref int)

When implemented by a class, executes action or extended action attached to the specified key.

FindKey(Keys, int)

When implemented by a class, indicates whether given key locates within the collection.

Remove(Keys)

When implemented by a class, removes given key from the key collection.

Remove(Keys, int)

When implemented by a class, removes given key from the key collection.

RemoveState(int)

When implemented by a class, removes the given state with all keys related to it.