Skip to main content

LayoutControl.SetUseDesiredHeightAsMaxHeight(UIElement, Boolean) Method

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

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public static void SetUseDesiredHeightAsMaxHeight(
    UIElement element,
    bool value
)

Parameters

Name Type Description
element UIElement

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

value Boolean

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

See Also