Skip to content

HorizontalAlignment Property

Description

Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property HorizontalAlignment() As [MarkupHorizontalAlignment](XtremeMarkup~Enumerations~MarkupHorizontalAlignment_EN.md)

Return Type

A horizontal alignment setting from the MarkupHorizontalAlignment enumeration. The default is Stretch.

Remarks

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

See Also


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