Table of Contents

Method Add

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

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

Adds a new key to key collection with specified parameters.

public virtual void Add(Keys keys, KeyEvent action, KeyEventEx actionEx, object param, int state, int leaveState)

Parameters

keys Keys

Key added to the collection.

action KeyEvent

Action that executes when the key is pressed.

actionEx KeyEventEx

Extended action that executes when the key is pressed.

param object

Object passed as a parameter to the extended action.

state int

State of the Edit control when key is pressed.

leaveState int

State of the Edit control after key is pressed.

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

Adds a new key to key collection with specified parameters.

public virtual void Add(Keys keys, KeyEventEx action, object param, int state, int leaveState)

Parameters

keys Keys

Key added to the collection.

action KeyEventEx

Extended action that executes when the key is pressed.

param object

Object passed as a parameter to the extended action.

state int

State of the Edit control when key is pressed.

leaveState int

State of the Edit control after key is pressed.

Add(Keys, KeyEvent, int, int)

Adds a new key to key collection with specified parameters.

public virtual void Add(Keys keys, KeyEvent action, int state, int leaveState)

Parameters

keys Keys

Key added to the collection.

action KeyEvent

Action that executes when the key is pressed.

state int

State of the Edit control before key is pressed.

leaveState int

State of the Edit control after key is pressed.

Add(Keys, KeyEventEx, object)

Adds a new key to key collection with specified parameters.

public virtual void Add(Keys keys, KeyEventEx action, object param)

Parameters

keys Keys

Key added to the collection.

action KeyEventEx

Extended action that executes when the key is pressed.

param object

Object passed as a parameter to the extended action.

Add(Keys, KeyEvent)

Adds a new key to key collection with specified action.

public virtual void Add(Keys keys, KeyEvent action)

Parameters

keys Keys

Key added to the collection.

action KeyEvent

Action that executes when the key is pressed.