Click or drag to resize
DefaultInputProviderGetTextInput 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,
	int lineWidth,
	ref int pos
)

Parameters

txt
Type: SystemString
String to push text input into.
lineWidth
Type: SystemInt32
How many characters can fit in a line.
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.

Implements

IKeyboardInputGetTextInput(String, Int32, Int32)
See Also