Base Combo BoxSelected Text Property
Gets or sets the text that is selected in the editable portion of a combo box
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public string SelectedText { get; set; }VB
Public Property SelectedText As String
Get
SetC++
public:
property String^ SelectedText {
String^ get ();
void set (String^ value);
}F#
member SelectedText : string with get, setProperty Value
StringIf the DropDownStyle is set to DropDownList this always returns the full text of the selected item. Attempts to set the selected text in that mode are ignored.
If there is no selected text, this property returns a zero-length string.