Skip to main content

SetTextRenderingMode Method

Sets the value of the TextRenderingMode attached property for a visual.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static void SetTextRenderingMode(
Visual visual,
TextRenderingMode value
)

Parameters

  Visual
The control.
  TextRenderingMode
The value.

See Also

Reference

RenderOptions Structure
Avalonia.Media Namespace