ComboBox.Text Свойство

Определение

Возвращает или задает текст в поле 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

Значение свойства

String

Platform::String

winrt::hstring

Требования к Windows

Семейство устройств
Windows 10, version 1809 (появилось в 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (появилось в v7.0)

Применяется к