# FarPoint.Win.Spread.InputMap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_InputMap" data-uid="FarPoint.Win.Spread.InputMap" class="text-break">InputMap Class
</h1>
  <div class="markdown level0 summary"><p>Represents the map between input by the user and the action that occurs.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">InputMap</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_InputMap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputMap : ISerializable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputMap
    Implements ISerializable, ISerializeSupport</code></pre>
  </div>
  <h5 id="FarPoint_Win_Spread_InputMap_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>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.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap__ctor" data-uid="FarPoint.Win.Spread.InputMap.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.-ctor.html#FarPoint_Win_Spread_InputMap__ctor">InputMap()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new input map with no parent and no mappings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.InputMap.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.-ctor.html#FarPoint_Win_Spread_InputMap__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">InputMap(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new input map with data from the specified serialization and stream objects.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Parent" data-uid="FarPoint.Win.Spread.InputMap.Parent">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Parent.html#FarPoint_Win_Spread_InputMap_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parent (<a class="xref" href="FarPoint.Win.Spread.InputMap.html">InputMap</a> object) of this input map.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Size" data-uid="FarPoint.Win.Spread.InputMap.Size">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Size.html#FarPoint_Win_Spread_InputMap_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of mappings defined in this input map.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_AllKeys" data-uid="FarPoint.Win.Spread.InputMap.AllKeys">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.AllKeys.html#FarPoint_Win_Spread_InputMap_AllKeys">AllKeys()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the key strokes that are defined in this input map and its parent.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Clear" data-uid="FarPoint.Win.Spread.InputMap.Clear">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Clear.html#FarPoint_Win_Spread_InputMap_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all the mappings from this input map.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.InputMap.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Deserialize.html#FarPoint_Win_Spread_InputMap_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Get_FarPoint_Win_Spread_Keystroke_" data-uid="FarPoint.Win.Spread.InputMap.Get(FarPoint.Win.Spread.Keystroke)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Get.html#FarPoint_Win_Spread_InputMap_Get_FarPoint_Win_Spread_Keystroke_">Get(Keystroke)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the binding for the specified key stroke.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.InputMap.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.GetObjectData.html#FarPoint_Win_Spread_InputMap_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates the SerializationInfo class with information about the <a class="xref" href="FarPoint.Win.Spread.InputMap.html">InputMap</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Keys" data-uid="FarPoint.Win.Spread.InputMap.Keys">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Keys.html#FarPoint_Win_Spread_InputMap_Keys">Keys()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the key strokes that are defined in this input map.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Put_FarPoint_Win_Spread_Keystroke_System_Object_" data-uid="FarPoint.Win.Spread.InputMap.Put(FarPoint.Win.Spread.Keystroke,System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Put.html#FarPoint_Win_Spread_InputMap_Put_FarPoint_Win_Spread_Keystroke_System_Object_">Put(Keystroke, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a binding between the specified key stroke and an action.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Remove_FarPoint_Win_Spread_Keystroke_" data-uid="FarPoint.Win.Spread.InputMap.Remove(FarPoint.Win.Spread.Keystroke)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Remove.html#FarPoint_Win_Spread_InputMap_Remove_FarPoint_Win_Spread_Keystroke_">Remove(Keystroke)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the mapping for the specified key stroke.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_InputMap_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.InputMap.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.InputMap.Serialize.html#FarPoint_Win_Spread_InputMap_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
