ToolStripTextBox::SelectedText Property
.NET Framework (current version)
Gets or sets a value indicating the currently selected text in the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property String^ SelectedText { String^ get(); void set(String^ value); }
Property Value
Type: System::String^A string that represents the currently selected text in the text box.
You can assign text to this property to change the text currently selected in theToolStripTextBox. If no text is currently selected in theToolStripTextBox, this property returns a zero-length string.
.NET Framework
Available since 2.0
Available since 2.0
Show: