TextBox.SelectionLength TextBox.SelectionLength TextBox.SelectionLength TextBox.SelectionLength Property

Definition

Gets or sets the number of characters in the current selection in the text box.

public : int SelectionLength { get; set; }
int32_t SelectionLength();

void SelectionLength(int32_t selectionlength);
public int SelectionLength { get; set; }
Public ReadWrite Property SelectionLength As int
<TextBox SelectionLength="int"/>

Property Value

int int

The number of characters in the current selection in the text box, or 0 if there is no selection.