InputHelper.GetTextInput Method

GeonBit.UI

InputHelperGetTextInput Method
Get textual input from keyboard. If user enter keys it will push them into string, if delete or backspace will remove chars, etc. This also handles keyboard cooldown, to make it feel like windows-input.

Namespace:  GeonBit.UI
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public string GetTextInput(
	string txt,
	ref int pos
)

Parameters

txt
Type: SystemString
String to push text input into.
pos
Type: SystemInt32
Position to insert / remove characters. -1 to push at the end of string. After done, will contain actual new caret position.

Return Value

Type: String
String after text input applied on it.
See Also