EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

VerticalAlignment Enumeration

July 28, 2014

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

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public enum VerticalAlignment
<object property="enumerationvalue"/>

Member nameDescription
TopThe element is aligned to the top of the parent's layout slot.
CenterThe element is aligned to the center of the parent's layout slot.
BottomThe element is aligned to the bottom of the parent's layout slot.
StretchThe element is stretched to fill the entire layout slot of the parent element.

Height and Width properties that are explicitly set on an element take precedence over the Stretch property value.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Mostrar:
© 2014 Microsoft