Open Rails

KeyInputControl Methods

The methods of the KeyInputControl class are listed below. For a complete list of KeyInputControl class members, see the KeyInputControl Members topic.

Public Instance Methods

AppendText (inherited from TextBoxBase)Appends text to the current text of a text box.
BeginInvoke (inherited from Control)Overloaded. Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
BringToFront (inherited from Control)Brings the control to the front of the z-order.
Clear (inherited from TextBoxBase)Clears all text from the text box control.
ClearUndo (inherited from TextBoxBase)Clears information about the most recent operation from the undo buffer of the text box.
Contains (inherited from Control)Retrieves a value indicating whether the specified control is a child of the control.
Copy (inherited from TextBoxBase)Copies the current selection in the text box to the Clipboard.
CreateControl (inherited from Control)Forces the creation of the control, including the creation of the handle and any child controls.
CreateGraphics (inherited from Control)Creates the Graphics for the control.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Cut (inherited from TextBoxBase)Moves the current selection in the text box to the Clipboard.
DeselectAll (inherited from TextBoxBase)Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
DoDragDrop (inherited from Control)Begins a drag-and-drop operation.
DrawToBitmap (inherited from Control)Supports rendering to the specified bitmap.
EndInvoke (inherited from Control)Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindForm (inherited from Control)Retrieves the form that the control is on.
Focus (inherited from Control)Sets input focus to the control.
GetCharFromPosition (inherited from TextBoxBase)Retrieves the character that is closest to the specified location within the control.
GetCharIndexFromPosition (inherited from TextBoxBase)Retrieves the index of the character nearest to the specified location.
GetChildAtPoint (inherited from Control)Overloaded. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
GetContainerControl (inherited from Control)Returns the next ContainerControl up the control's chain of parent controls.
GetFirstCharIndexFromLine (inherited from TextBoxBase)Retrieves the index of the first character of a given line.
GetFirstCharIndexOfCurrentLine (inherited from TextBoxBase)Retrieves the index of the first character of the current line.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetLineFromCharIndex (inherited from TextBoxBase)Retrieves the line number from the specified character position within the text of the control.
GetNextControl (inherited from Control)Retrieves the next control forward or back in the tab order of child controls.
GetPositionFromCharIndex (inherited from TextBoxBase)Retrieves the location within the control at the specified character index.
GetPreferredSize (inherited from Control)Retrieves the size of a rectangular area into which a control can be fitted.
GetType (inherited from Object)Gets the Type of the current instance.
Hide (inherited from Control)Conceals the control from the user.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Invalidate (inherited from Control)Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
Invoke (inherited from Control)Overloaded. Executes the specified delegate on the thread that owns the control's underlying window handle.
Paste (inherited from TextBox)Overloaded. Sets the selected text to the specified text without clearing the undo buffer.
Paste (inherited from TextBoxBase)Overloaded. Replaces the current selection in the text box with the contents of the Clipboard.
PerformLayout (inherited from Control)Overloaded. Forces the control to apply layout logic to all its child controls.
PointToClient (inherited from Control)Computes the location of the specified screen point into client coordinates.
PointToScreen (inherited from Control)Computes the location of the specified client point into screen coordinates.
PreProcessControlMessage (inherited from Control)Preprocesses keyboard or input messages within the message loop before they are dispatched.
PreProcessMessage (inherited from Control)Preprocesses keyboard or input messages within the message loop before they are dispatched.
RectangleToClient (inherited from Control)Computes the size and location of the specified screen rectangle in client coordinates.
RectangleToScreen (inherited from Control)Computes the size and location of the specified client rectangle in screen coordinates.
Refresh (inherited from Control)Forces the control to invalidate its client area and immediately redraw itself and any child controls.
ResetBackColor (inherited from Control)Resets the BackColor property to its default value.
ResetBindings (inherited from Control)Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
ResetCursor (inherited from Control)Resets the Cursor property to its default value.
ResetFont (inherited from Control)Resets the Font property to its default value.
ResetForeColor (inherited from Control)Resets the ForeColor property to its default value.
ResetImeMode (inherited from Control)Resets the ImeMode property to its default value.
ResetRightToLeft (inherited from Control)Resets the RightToLeft property to its default value.
ResetText (inherited from Control)Resets the Text property to its default value.
ResumeLayout (inherited from Control)Overloaded. Resumes usual layout logic.
Scale (inherited from Control)Overloaded. Scales the control and any child controls.
ScrollToCaret (inherited from TextBoxBase)Scrolls the contents of the control to the current caret position.
Select (inherited from TextBoxBase)Overloaded. Selects a range of text in the text box.
Select (inherited from Control)Overloaded. Activates the control.
SelectAll (inherited from TextBoxBase)Selects all text in the text box.
SelectNextControl (inherited from Control)Activates the next control.
SendToBack (inherited from Control)Sends the control to the back of the z-order.
SetBounds (inherited from Control)Overloaded. Sets the bounds of the control to the specified location and size.
Show (inherited from Control)Displays the control to the user.
SuspendLayout (inherited from Control)Temporarily suspends the layout logic for the control.
ToString (inherited from TextBoxBase)Returns a string that represents the TextBoxBase control.
Undo (inherited from TextBoxBase)Undoes the last edit operation in the text box.
Update (inherited from Control)Causes the control to redraw the invalidated regions within its client area.

Protected Instance Methods

AccessibilityNotifyClients (inherited from Control)Overloaded. Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
CreateAccessibilityInstance (inherited from Control)Creates a new accessibility object for the control.
CreateControlsInstance (inherited from Control)Creates a new instance of the control collection for the control.
CreateHandle (inherited from TextBoxBase)Creates a handle for the control.
DefWndProc (inherited from Control)Sends the specified message to the default window procedure.
DestroyHandle (inherited from Control)Destroys the handle associated with the control.
DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetAccessibilityObjectById (inherited from Control)Retrieves the specified AccessibleObject.
GetAutoSizeMode (inherited from Control)Retrieves a value indicating how a control will behave when its AutoSize property is enabled.
GetScaledBounds (inherited from Control)Retrieves the bounds within which the control is scaled.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
GetStyle (inherited from Control)Retrieves the value of the specified control style bit for the control.
GetTopLevel (inherited from Control)Determines if the control is a top-level control.
InitLayout (inherited from Control)Called after the control has been added to another container.
InvokeGotFocus (inherited from Control)Raises the GotFocus event for the specified control.
InvokeLostFocus (inherited from Control)Raises the LostFocus event for the specified control.
InvokeOnClick (inherited from Control)Raises the Click event for the specified control.
InvokePaint (inherited from Control)Raises the Paint event for the specified control.
InvokePaintBackground (inherited from Control)Raises the PaintBackground event for the specified control.
IsInputChar (inherited from Control)Determines if a character is an input character that the control recognizes.
IsInputKey (inherited from TextBox)Determines whether the specified key is an input key or a special key that requires preprocessing.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
NotifyInvalidate (inherited from Control)Raises the Invalidated event with a specified region of the control to invalidate.
OnAcceptsTabChanged (inherited from TextBoxBase)Raises the AcceptsTabChanged event.
OnAutoSizeChanged (inherited from Control)Raises the AutoSizeChanged event.
OnBackColorChanged (inherited from TextBox)Raises the BackColorChanged event.
OnBackgroundImageChanged (inherited from Control)Raises the BackgroundImageChanged event.
OnBackgroundImageLayoutChanged (inherited from Control)Raises the BackgroundImageLayoutChanged event.
OnBindingContextChanged (inherited from Control)Raises the BindingContextChanged event.
OnBorderStyleChanged (inherited from TextBoxBase)Raises the BorderStyleChanged event.
OnCausesValidationChanged (inherited from Control)Raises the CausesValidationChanged event.
OnChangeUICues (inherited from Control)Raises the ChangeUICues event.
OnClick (inherited from Control)Raises the Click event.
OnClientSizeChanged (inherited from Control)Raises the ClientSizeChanged event.
OnContextMenuChanged (inherited from Control)Raises the ContextMenuChanged event.
OnContextMenuStripChanged (inherited from Control)Raises the ContextMenuStripChanged event.
OnControlAdded (inherited from Control)Raises the ControlAdded event.
OnControlRemoved (inherited from Control)Raises the ControlRemoved event.
OnCreateControl (inherited from Control)Raises the CreateControl method.
OnCursorChanged (inherited from Control)Raises the CursorChanged event.
OnDockChanged (inherited from Control)Raises the DockChanged event.
OnDoubleClick (inherited from Control)Raises the DoubleClick event.
OnDragDrop (inherited from Control)Raises the DragDrop event.
OnDragEnter (inherited from Control)Raises the DragEnter event.
OnDragLeave (inherited from Control)Raises the DragLeave event.
OnDragOver (inherited from Control)Raises the DragOver event.
OnEnabledChanged (inherited from Control)Raises the EnabledChanged event.
OnEnter (inherited from Control)Raises the Enter event.
OnFontChanged (inherited from TextBox)Raises the FontChanged event.
OnForeColorChanged (inherited from Control)Raises the ForeColorChanged event.
OnGiveFeedback (inherited from Control)Raises the GiveFeedback event.
OnGotFocus (inherited from TextBox)Raises the GotFocus event.
OnHandleCreated (inherited from TextBox)Raises the HandleCreated event.
OnHandleDestroyed (inherited from TextBox)Raises the OnHandleDestroyed event.
OnHelpRequested (inherited from Control)Raises the HelpRequested event.
OnHideSelectionChanged (inherited from TextBoxBase)Raise the HideSelectionChanged event.
OnImeModeChanged (inherited from Control)Raises the ImeModeChanged event.
OnInvalidated (inherited from Control)Raises the Invalidated event.
OnKeyDown (inherited from Control)Raises the KeyDown event.
OnKeyPress (inherited from Control)Raises the KeyPress event.
OnKeyUp (inherited from Control)Raises the KeyUp event.
OnLayout (inherited from Control)Raises the Layout event.
OnLeave (inherited from Control)Raises the Leave event.
OnLocationChanged (inherited from Control)Raises the LocationChanged event.
OnLostFocus (inherited from Control)Raises the LostFocus event.
OnMarginChanged (inherited from Control)Raises the MarginChanged event.
OnModifiedChanged (inherited from TextBoxBase)Raises the ModifiedChanged event.
OnMouseCaptureChanged (inherited from Control)Raises the MouseCaptureChanged event.
OnMouseClick (inherited from Control)Raises the MouseClick event.
OnMouseDoubleClick (inherited from Control)Raises the MouseDoubleClick event.
OnMouseDown (inherited from Control)Raises the MouseDown event.
OnMouseEnter (inherited from Control)Raises the MouseEnter event.
OnMouseHover (inherited from Control)Raises the MouseHover event.
OnMouseLeave (inherited from Control)Raises the MouseLeave event.
OnMouseMove (inherited from Control)Raises the MouseMove event.
OnMouseUp (inherited from TextBoxBase)Raises the MouseUp event.
OnMouseWheel (inherited from Control)Raises the MouseWheel event.
OnMove (inherited from Control)Raises the Move event.
OnMultilineChanged (inherited from TextBoxBase)Raises the MultilineChanged event.
OnNotifyMessage (inherited from Control)Notifies the control of Windows messages.
OnPaddingChanged (inherited from TextBoxBase)This method is not relevant for this class.
OnPaint (inherited from Control)Raises the Paint event.
OnPaintBackground (inherited from Control)Paints the background of the control.
OnParentBackColorChanged (inherited from Control)Raises the BackColorChanged event when the BackColor property value of the control's container changes.
OnParentBackgroundImageChanged (inherited from Control)Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
OnParentBindingContextChanged (inherited from Control)Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.
OnParentChanged (inherited from Control)Raises the ParentChanged event.
OnParentCursorChanged (inherited from Control)Raises the CursorChanged event.
OnParentEnabledChanged (inherited from Control)Raises the EnabledChanged event when the Enabled property value of the control's container changes.
OnParentFontChanged (inherited from Control)Raises the FontChanged event when the Font property value of the control's container changes.
OnParentForeColorChanged (inherited from Control)Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
OnParentRightToLeftChanged (inherited from Control)Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
OnParentVisibleChanged (inherited from Control)Raises the VisibleChanged event when the Visible property value of the control's container changes.
OnPreviewKeyDown (inherited from Control)Raises the PreviewKeyDown event.
OnPrint (inherited from Control)Raises the Paint event.
OnQueryContinueDrag (inherited from Control)Raises the QueryContinueDrag event.
OnReadOnlyChanged (inherited from TextBoxBase)Raises the ReadOnlyChanged event.
OnRegionChanged (inherited from Control)Raises the RegionChanged event.
OnResize (inherited from Control)Raises the Resize event.
OnRightToLeftChanged (inherited from Control)Raises the RightToLeftChanged event.
OnSizeChanged (inherited from Control)Raises the SizeChanged event.
OnStyleChanged (inherited from Control)Raises the StyleChanged event.
OnSystemColorsChanged (inherited from Control)Raises the SystemColorsChanged event.
OnTabIndexChanged (inherited from Control)Raises the TabIndexChanged event.
OnTabStopChanged (inherited from Control)Raises the TabStopChanged event.
OnTextAlignChanged (inherited from TextBox)Raises the TextAlignChanged event.
OnTextChanged (inherited from TextBoxBase)Raises the TextChanged event.
OnValidated (inherited from Control)Raises the Validated event.
OnValidating (inherited from Control)Raises the Validating event.
OnVisibleChanged (inherited from Control)Raises the VisibleChanged event.
ProcessCmdKey (inherited from TextBoxBase)Gets a value indicating the state of the ShortcutsEnabled property.
ProcessDialogChar (inherited from Control)Processes a dialog character.
ProcessDialogKey (inherited from TextBoxBase)Processes a dialog key.
ProcessKeyEventArgs (inherited from Control)Processes a key message and generates the appropriate control events.
ProcessKeyMessage (inherited from Control)Processes a keyboard message.
ProcessKeyPreview (inherited from Control)Previews a keyboard message.
ProcessMnemonic (inherited from Control)Processes a mnemonic character.
RaiseDragEvent (inherited from Control)Raises the appropriate drag event.
RaiseKeyEvent (inherited from Control)Raises the appropriate key event.
RaiseMouseEvent (inherited from Control)Raises the appropriate mouse event.
RaisePaintEvent (inherited from Control)Raises the appropriate paint event.
RecreateHandle (inherited from Control)Forces the re-creation of the handle for the control.
ResetMouseEventArgs (inherited from Control)Resets the control to handle the MouseLeave event.
RtlTranslateAlignment (inherited from Control)Overloaded. Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
RtlTranslateContent (inherited from Control)Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
RtlTranslateHorizontal (inherited from Control)Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
RtlTranslateLeftRight (inherited from Control)Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
ScaleControl (inherited from Control)Scales a control's location, size, padding and margin.
ScaleCore (inherited from Control)This method is not relevant for this class.
Select (inherited from Control)Overloaded. Activates a child control. Optionally specifies the direction in the tab order to select the control from.
SetAutoSizeMode (inherited from Control)Sets a value indicating how a control will behave when its AutoSize property is enabled.
SetBoundsCore (inherited from TextBoxBase)Sets the specified bounds of the TextBoxBase control.
SetClientSizeCore (inherited from Control)Sets the size of the client area of the control.
SetStyle (inherited from Control)Sets the specified style bit to the specified value.
SetTopLevel (inherited from Control)Sets the control as the top-level control.
SetVisibleCore (inherited from Control)Sets the control to the specified visible state.
SizeFromClientSize (inherited from Control)Determines the size of the entire control from the height and width of its client area.
UpdateBounds (inherited from Control)Overloaded. Updates the bounds of the control with the current size and location.
UpdateStyles (inherited from Control)Forces the assigned styles to be reapplied to the control.
UpdateZOrder (inherited from Control)Updates the control in its parent's z-order.
WndProc (inherited from TextBox)Processes Windows messages.

See Also

KeyInputControl Class | ORTS Namespace