Back to Devexpress

LayoutControl.AllowHorizontalSizing Attached Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutcontrol-a5e2faa0.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

See GetAllowHorizontalSizing(UIElement) and SetAllowHorizontalSizing(UIElement, Boolean).

Returns

TypeDescription
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:

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

AllowVerticalSizing

AllowItemSizing

ItemSizerStyle

LayoutControl Class

LayoutControl Members

DevExpress.Xpf.LayoutControl Namespace