HorizontalAlignment enumeration

This topic has not yet been rated - Rate this topic

Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.

Syntax


public enum HorizontalAlignment


<object property="enumMemberName"/>

Attributes

VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

Members

The HorizontalAlignment enumeration has these members.

MemberValueDescription
Left0

An element aligned to the left of the layout slot for the parent element.

Center1

An element aligned to the center of the layout slot for the parent element.

Right2

An element aligned to the right of the layout slot for the parent element.

Stretch3

An element stretched to fill the entire layout slot of the parent element.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

 

 

Build date: 1/31/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.