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

LayoutControl.SetAllowHorizontalSizing(UIElement, Boolean) Method

Sets the value of the LayoutControl.AllowHorizontalSizing attached property for the specified object.

Namespace: DevExpress.Xpf.LayoutControl

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

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

Declaration

public static void SetAllowHorizontalSizing(
    UIElement element,
    bool value
)

Parameters

Name Type Description
element UIElement

An object whose LayoutControl.AllowHorizontalSizing property is to be set.

value Boolean

The value to be assigned to the LayoutControl.AllowHorizontalSizing property.

See Also