TextBox.SelectionLength Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, setPublic Overrides Property SelectionLength As IntegerProperty Value
The number of characters selected in the text box.
- Attributes