System.Windows.Forms.ToolStripComboBox.SelectedText Property

Gets or sets the text that is selected in the editable portion of a System.Windows.Forms.ToolStripComboBox.

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 the combo box. If no text is currently selected in the combo box, 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