AlignmentX AlignmentX AlignmentX AlignmentX Enum


Describes how content is positioned horizontally in a container.

public : enum class AlignmentX
enum class winrt::Windows::UI::Xaml::Media::AlignmentX : int32_t
public enum AlignmentX
Public Enum AlignmentX
<object property="enumMemberName"/>

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Center Center Center Center 1

The contents align toward the center of the container.

Left Left Left Left 0

The contents align toward the left of the container.

Right Right Right Right 2

The contents align toward the right of the container.