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.v20.1.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 LayoutControl.UseDesiredHeightAsMaxHeight property is to be set.

value Boolean

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

See Also