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.AllowVerticalSizing Attached Property

Gets or sets whether vertical 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 vertical re-sizing is enabled for a specific child element of the LayoutControl; otherwise, false.

#Remarks

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

VerticalSizing

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 AllowVerticalSizing and LayoutControl.AllowHorizontalSizing attached properties are ignored.

See Also