[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ActionMap

ActionMap Class

Represents an action map, which provides mappings from objects to actions.

Inheritance
ActionMap
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class ActionMap
Public Class ActionMap
Remarks

An action map is usually used with an input map (see InputMap class) to locate a particular action when a key is pressed. An action map can have a parent that is searched for keys not defined in the input map.

Constructors

Name Description
ActionMap()

Initializes an action map with no parent and no mappings.

Properties

Name Description
Parent

Gets or sets the parent action map (ActionMap object) of this action map.

Size

Returns the number of mappings defined in this action map.

Methods

Name Description
AllKeys()

Returns the keys that are defined in this action map and its parent.

Clear()

Removes all the mappings from this action map.

Get(object)

Returns the binding to an action for the specified key.

Keys()

Returns the keys defined in this action map.

Put(object, Action)

Creates a binding between a key and an action.

Remove(object)

Removes the binding to an action for the specified key.