[]
Represents the map between input by the user and the action that occurs.
public class InputMap : ISerializable, ISerializeSupport
Public Class InputMap
Implements ISerializable, ISerializeSupport
The input map provides a map between an input event (currently only key strokes are supported) and an object. Input maps can have parents that are searched for mappings not defined in the input map.
| Name | Description |
|---|---|
| InputMap() | Creates a new input map with no parent and no mappings. |
| InputMap(SerializationInfo, StreamingContext) | Creates a new input map with data from the specified serialization and stream objects. |
| Name | Description |
|---|---|
| Parent | Gets or sets the parent (InputMap object) of this input map. |
| Size | Returns the number of mappings defined in this input map. |
| Name | Description |
|---|---|
| AllKeys() | Returns the key strokes that are defined in this input map and its parent. |
| Clear() | Removes all the mappings from this input map. |
| Deserialize(XmlNodeReader) | Loads the object from XML. |
| Get(Keystroke) | Returns the binding for the specified key stroke. |
| GetObjectData(SerializationInfo, StreamingContext) | Populates the SerializationInfo class with information about the InputMap object. |
| Keys() | Gets the key strokes that are defined in this input map. |
| Put(Keystroke, object) | Creates a binding between the specified key stroke and an action. |
| Remove(Keystroke) | Removes the mapping for the specified key stroke. |
| Serialize(XmlTextWriter) | Saves the object to XML. |