Skip to main content

LayoutControl.GetUseDesiredHeightAsMaxHeight(UIElement) Method

Returns the value of the LayoutControl.UseDesiredHeightAsMaxHeight attached property for the specified UIElement object.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public static bool GetUseDesiredHeightAsMaxHeight(
    UIElement element
)

Parameters

Name Type Description
element UIElement

An object whose LayoutControl.UseDesiredHeightAsMaxHeight property’s value is to be returned.

Returns

Type Description
Boolean

The value of the LayoutControl.UseDesiredHeightAsMaxHeight property for the specified UIElement object.

See Also