Run.Text Property

Definition

Gets or sets the text contents of the Run.

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 = run.text;
run.text = string;
Public Property Text As String
<Run Text="text"/>
- or -
<Run ...>text</Run>

Property Value

String

Platform::String

winrt::hstring

A string that specifies the text contents of the Run. The default is String.Empty.

Applies to