TextElement.TextDecorations Eigenschaft

Definition

Ruft einen Wert ab, der angibt, welche Dekorationen auf den Text angewendet werden, oder legt diesen fest.

public:
 property TextDecorations TextDecorations { TextDecorations get(); void set(TextDecorations value); };
TextDecorations TextDecorations();

void TextDecorations(TextDecorations value);
public TextDecorations TextDecorations { get; set; }
var textDecorations = textElement.textDecorations;
textElement.textDecorations = textDecorations;
Public Property TextDecorations As TextDecorations
<textElement TextDecorations="textDecorationsMemberName"/>

Eigenschaftswert

Ein Wert aus der Enumeration. Der Standardwert ist None (Kein).

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Hinweise

Weitere Informationen und Beispiele finden Sie unter RichTextBlock.TextDecorations.

Gilt für:

Weitere Informationen