Open Rails

KeyInputControl Class

[This is preliminary documentation and subject to change.]

A control for viewing and altering keyboard input settings, in combination with KeyInputEditControl.

For a list of all members of this type, see KeyInputControl Members .

System.Object
   MarshalByRefObject
      Component
         Control
            TextBoxBase
               TextBox
                  KeyInputControl

[Designer(DesignerBaseTypeName=""System.ComponentModel.Design.IDesigner"", DesignerTypeName=""System.Windows.Forms.Design.TextBoxDesigner, System.Design, Version=2.0.0.0, Cult" + "ure=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[DefaultBindingProperty(Name=""Text"")]
[Designer(DesignerBaseTypeName=""System.ComponentModel.Design.IDesigner"", DesignerTypeName=""System.Windows.Forms.Design.TextBoxBaseDesigner, System.Design, Version=2.0.0.0, " + "Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[DefaultEvent(Name=""TextChanged"")]
[DefaultProperty(Name=""Text"")]
[Designer(DesignerBaseTypeName=""System.ComponentModel.Design.IDesigner"", DesignerTypeName=""System.Windows.Forms.Design.ControlDesigner, System.Design, Version=2.0.0.0, Cult" + "ure=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[ToolboxItemFilter(FilterString=""System.Windows.Forms"", FilterType=ToolboxItemFilterType.Allow)]
[DesignerSerializer(SerializerTypeName=""System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=2.0." + "0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"", SerializerBaseTypeName=""System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Vers" + "ion=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[DesignerCategory(Category=""Component"")]
public class KeyInputControl : TextBox

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This control will modify the UserCommandInput it is given (but not the default input).

The control displays the currently assigtned keyboard shortcut and highlights the text if it is not the default. Clicking on the text invokes the editing behaviour via KeyInputEditControl.

Requirements

Namespace: ORTS

Assembly: Menu (in Menu.exe)

See Also

KeyInputControl Members | ORTS Namespace