RoundTextBoxMultilineSelect(Int32, Int32) Method

Selects a range of text in the text box.

Definition

Namespace: BeeMobile.RoundTextBoxMultiline
Assembly: BeeMobile.RoundTextBoxMultiline.NET48 (in BeeMobile.RoundTextBoxMultiline.NET48.dll) Version: 4.8.1.0
C#
public void Select(
	int aStart,
	int aLength
)

Parameters

aStart  Int32
Int32The position of the first character in the current text selection within the text box.
aLength  Int32
Int32Number of characters to be selected

Remarks

If you want to set the start position to the first character in the control's text, set the start parameter to 0. You can use this method to select a substring of text, such as when searching through the text of the control and replacing information.

You can programmatically move the cursor within the text box by setting the start parameter to the position within the text box where you want the cursor to move to.

Exceptions

ArgumentOutOfRangeException Thrown when given parameters are out of range of valid values.

See Also