Share via


ComboBox.Text Property

Definition

Gets or sets the text in the ComboBox.

public:
 property Platform::String ^ Text { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Text();

void Text(winrt::hstring value);
public string Text { get; set; }
var string = comboBox.text;
comboBox.text = string;
Public Property Text As String

Property Value

String

Platform::String

winrt::hstring

Applies to