Skip to main content

GetTextRenderingMode Method

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

Definition​

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

public static TextRenderingMode GetTextRenderingMode(
Visual visual
)

Parameters​

  Visual
The control.

Return Value​

TextRenderingMode
The value.

See Also​

Reference​

RenderOptions Structure
Avalonia.Media Namespace