VerticalAlignment enumeration

This topic has not yet been rated - Rate this topic

Describes how a child element is vertically positioned or stretched within a parent's layout slot.

Syntax


public enum VerticalAlignment


<object property="enumerationvalue"/>

Attributes

VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

Members

The VerticalAlignment enumeration has these members.

MemberValueDescription
Top0

The element is aligned to the top of the parent's layout slot.

Center1

The element is aligned to the center of the parent's layout slot.

Bottom2

The element is aligned to the bottom of the parent's layout slot.

Stretch3

The element is 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.