Skip to main content

SetTextDecorations Method

Sets the value of the attached TextDecorationsProperty on a control.

Definition​

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

public static void SetTextDecorations(
Control control,
TextDecorationCollection? value
)

Parameters​

  Control
The control.
  TextDecorationCollection
The property value to set.

See Also​

Reference​

Inline Class
Avalonia.Controls.Documents Namespace