Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutControlItem.ControlAlignment Property

Gets or sets the alignment of the LayoutControlItem‘s control within the layout item. This setting is not intended to be used for version 19.2 and newer.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DXCategory("Layout")]
[EditorBrowsable(EditorBrowsableState.Never)]
[XtraSerializableProperty]
public virtual ContentAlignment ControlAlignment { get; set; }

#Property Value

Type Default Description
ContentAlignment TopLeft

A ContentAlignment value that specifies the control’s alignment within the layout item.

#Remarks

Important

For version 19.2 and newer, the ControlAlignment, TrimClientAreaToControl and FillControlToClientArea settings are hidden. To move a control inside a layout item, use the ContentVertAlignment and ContentHorzAlignment properties instead.

See Also