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

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.2.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