DesktopLayoutDirection enum

Namespace Runic.Platform in Runic.Platform 0.23.0

public enum DesktopLayoutDirection

The direction native window parts and menus lay out in.

Remarks

A closed set. DesktopLayoutDirection.Default keeps the platform's behaviour of earlier releases, so an application opts in to mirroring. A page sets its own direction with <html dir="rtl">.

Values

Default

Default = 0

The platform's default: what the window or menu did before the option existed.

LeftToRight

LeftToRight = 1

Left to right.

RightToLeft

RightToLeft = 2

Right to left, as for Arabic, Hebrew or Persian: the frame, its buttons and menus are mirrored.