All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

LayoutControlItem.ContentVertAlignment Property

Gets or sets the vertical alignment of a control inside this layout item. This property is in effect when the control's maximum height is limited, and is less than the layout item currently provides.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[DefaultValue(VertAlignment.Default)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public virtual VertAlignment ContentVertAlignment { get; set; }
<DefaultValue(VertAlignment.Default)>
<DXCategory("Layout")>
<XtraSerializableProperty>
Public Overridable Property ContentVertAlignment As VertAlignment

Property Value

Type Default Description
VertAlignment

Default

The horizontal control alignment.

Remarks

If a layout item is stretched vertically, and the control inside this item has a limited maximum height, the control area can be higher than this maximum value. In this case, you can use the ContentVertAlignment property to move the control inside its layout item.

To move a control horizontally, use the ContentHorzAlignment property instead.

See Also