FormattedText.Text Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the string of text to be displayed.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public string Text { get; }

Property Value

Type: System.String

The string of text to be displayed.

This property is not settable on a constructed FormattedText object. You must construct a new FormattedText in order to set different text.

.NET Framework
Available since 3.0
Return to top
Show: