DetectTextDirection Property

Definition

Assembly MarkView.Avalonia.dll

When true, each block takes the Avalonia.Visual.FlowDirection of its own text, as HTML's dir="auto" does: a paragraph, heading, list, quote or table whose first letter is Hebrew or Arabic is laid out right to left, one whose first letter is Latin left to right. A block without a letter (only digits or symbols) keeps the direction around it. Code blocks are always left to right, and an HTML dir attribute (<div dir="rtl">, <p dir="rtl">) wins over the text. When false, blocks keep the direction of the control that shows the document. Defaults to true.

public bool DetectTextDirection { get; set; }

Returns