System.Windows.Forms.ToolStripTextBox.SelectedText Property

Gets or sets a value indicating the currently selected text in the control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public string SelectedText { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can assign text to this property to change the text currently selected in theSystem.Windows.Forms.ToolStripTextBox. If no text is currently selected in theSystem.Windows.Forms.ToolStripTextBox, this property returns a zero-length string.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0