Skip to main content

GetTextDecorations Method

Gets the value of the attached TextDecorationsProperty on a control.

Definition​

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static TextDecorationCollection? GetTextDecorations(
Control control
)

Parameters​

  Control
The control.

Return Value​

TextDecorationCollection
The font style.

See Also​

Reference​

Inline Class
Avalonia.Controls.Documents Namespace