Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
TextBox.Text Property
Definition
- Namespace:
- Windows.UI.Xaml.Controls
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text contents of the text box.
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 = textBox.text;
textBox.text = string;
Public Property Text As String
<TextBox Text="string"/>
Property Value
A string containing the text contents of the text box. The default is an empty string ("").
Applies to
Feedback
Was this page helpful?
