TextElement.TextDecorations Property
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 a value that indicates what decorations are applied to the text.
public:
property TextDecorations TextDecorations { TextDecorations get(); void set(TextDecorations value); };
TextDecorations TextDecorations();
void TextDecorations(TextDecorations value);
C#
public TextDecorations TextDecorations { get; set; }
var textDecorations = textElement.textDecorations;
textElement.textDecorations = textDecorations;
Public Property TextDecorations As TextDecorations
XAML
<textElement TextDecorations="textDecorationsMemberName"/>
A value of the enumeration. The default is None.
For more info and examples, see RichTextBlock.TextDecorations.
Toode | Versioonid |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |