Udostępnij za pośrednictwem


LanguageLayoutDirection Enum

Definition

Defines constants that specify the content layout direction (for text and UI elements) most appropriate for a language.

public enum class LanguageLayoutDirection
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class LanguageLayoutDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum LanguageLayoutDirection
var value = Windows.Globalization.LanguageLayoutDirection.ltr
Public Enum LanguageLayoutDirection
Inheritance
LanguageLayoutDirection
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
Ltr 0

Indicates a content layout direction of left to right.

Rtl 1

Indicates a content layout direction of right to left (for example, for Arabic or other RTL languages).

TtbLtr 2

Indicates a content layout direction that flows from the top to the bottom of the page; the first top-to-bottom column of content is on the left, and columns are added from left to right.

TtbRtl 3

Indicates a content layout direction that flows from the top to the bottom of the page; the first top-to-bottom column of content is on the right, and columns are added from right to left.

Applies to