Table of Contents

Method SelectTextRange

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SelectTextRange(int, int)

Selects a range of text in the editable portion of the ComboBox.

void SelectTextRange(int start, int length)

Parameters

start int

The position of the first character in the current text selection within the text box.

length int

The number of characters to select.

Remarks

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