Skip to content

VerticalAlignment Property

Description

Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property VerticalAlignment() As [MarkupVerticalAlignment](XtremeMarkup~Enumerations~MarkupVerticalAlignment_EN.md)

Return Type

A vertical alignment setting from the MarkupVerticalAlignment enumeration. The default is Stretch.

Remarks

When Height and Width properties are explicitly set on an element, these measurements take higher precedence during layout and will cancel the typical effects of setting VerticalAlignment to Stretch.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.