TextBlock.Text TextBlock.Text TextBlock.Text TextBlock.Text Property

Definition

Gets or sets the text contents of a TextBlock.

public : Platform::String Text { get; set; }
winrt::hstring Text();

void Text(winrt::hstring text);
public string Text { get; set; }
Public ReadWrite Property Text As string
<TextBlock Text="string"/>

Property Value

string string

A string that specifies the text contents of this TextBlock. The default is an empty string.