Skip to main content
A newer version of this page is available. .

LayoutControl.StretchContentHorizontally Property

Gets or sets whether the control’s immediate children are stretched horizontally to fit the control’s width. This property is in effect for the items that have their HorizontalAlignment property set to Stretch. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public bool StretchContentHorizontally { get; set; }

Property Value

Type Description
Boolean

true if the control’s immediate children are stretched horizontally to fit the control’s width; otherwise, false.

See Also