TextBox.SelectionLength Property

Definition

Gets or sets the number of characters selected in the editable portion of the text box.

public:
 virtual property int SelectionLength { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public override int SelectionLength { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectionLength : int with get, set
Public Overrides Property SelectionLength As Integer

Property Value

The number of characters selected in the text box.

Attributes

Applies to