Invoked as a result of a key down event.

Namespace: TallComponents.Interaction.WinForms.Interactors.Annotations.Widgets
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
protected override void OnKeyDown(
	KeyboardEventArgs e
)
Visual Basic
Protected Overrides Sub OnKeyDown ( _
	e As KeyboardEventArgs _
)

Remarks

This method will try to enter the given key into the text at the current cursor location. In addition it will:
  • Handle shortcuts (currently, only ctrl-A)
  • Handle the cursor keys, by calling the appropriate OnCursor... handler.
  • Handle the decimal key of the numeric keypad. It will insert a comma or a dot, depending on what the fiel allows.

See Also