Skip to main content

LayoutControl.AllowHorizontalSizing Attached Property

Gets or sets whether horizontal re-sizing is enabled for a specific child element of the LayoutControl. This is an attached property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

Returns

Type Description
Boolean

true if horizontal re-sizing is enabled for a specific child element of the LayoutControl; otherwise, false.

Remarks

If the AllowHorizontalSizing property is set to true for a specific item, a sizer is displayed next to the item, enabling horizontal re-sizing. In the following image horizontal re-sizing is enabled for the first item:

HorizontalSizing

The LayoutControl.AllowItemSizing property allows you to temporarily disable horizontal and vertical re-sizing of items within the LayoutControl. If this property is set to false, the AllowHorizontalSizing and LayoutControl.AllowVerticalSizing attached properties are ignored.

See Also