FormattedText.Text Property


Gets the string of text to be displayed.

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

Public ReadOnly Property Text As String

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