Properties

Bounds

#
[Browsable(false)] public virtual Rectangle Bounds { get; set; }
Gets or sets the Bounds of this control.

Font

#
public virtual Font Font { get; set; }
Gets or sets the Font to use in this control.

IsTextInput

#
public bool IsTextInput { get; }
Gets whether the text input box is currently on screen.

Methods

HandleTextInputAccepted

#
protected abstract void HandleTextInputAccepted(string text)
text (string)

HideTextInputBox

#
public void HideTextInputBox()
Hides the text-input override form (if it is displayed).

RespondToEnter

#
public GH_ToolstripItemKeyHandlerResult RespondToEnter()
RespondToEnter

RespondToEscape

#
public GH_ToolstripItemKeyHandlerResult RespondToEscape()
RespondToEscape

ShowTextInputBox

#
public void ShowTextInputBox(Control owner, string content, bool selectContent, bool limitToBoundary, Matrix transform)
Display a floating text-box on top of the owner control.
owner (Control)Control that owns this slider. The coordinates of the Bounds rectangle must be specified in owner coordinates.
content (string)
selectContent (bool)
limitToBoundary (bool)If True, the pop up input box will be 'clipped' to the owner boundary. At least some part of the slider must be visible for this to work.
transform (Matrix)Transformation matrix to apply to pop up UI.

ShowTextInputBox

#
public void ShowTextInputBox(Control owner, string content, bool selectContent, bool limitToBoundary)
Display a floating text-box on top of the owner control.
owner (Control)Control that owns this slider. The coordinates of the Bounds rectangle must be specified in owner coordinates.
content (string)
selectContent (bool)
limitToBoundary (bool)If True, the pop up input box will be 'clipped' to the owner boundary. At least some part of the slider must be visible for this to work.

ShowTextInputBox

#
public void ShowTextInputBox(Control owner, string content, bool selectContent)
Display a floating text-box on top of the owner control.
owner (Control)Control that owns this slider. The coordinates of the Bounds rectangle must be specified in owner coordinates.
content (string)
selectContent (bool)