DockLayoutControl.SetUseDesiredHeightAsMaxHeight(UIElement, Boolean) Method

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

Namespace: DevExpress.Xpf.LayoutControl

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


public static void SetUseDesiredHeightAsMaxHeight(
    UIElement element,
    bool value
Public Shared Sub SetUseDesiredHeightAsMaxHeight(
    element As UIElement,
    value As Boolean


Name Type Description
element UIElement

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

value Boolean

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

See Also