LayoutControl.GetUseDesiredWidthAsMaxWidth(UIElement) Method

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

Namespace: DevExpress.Xpf.LayoutControl

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

Declaration

public static bool GetUseDesiredWidthAsMaxWidth(
    UIElement element
)
Public Shared Function GetUseDesiredWidthAsMaxWidth(
    element As UIElement
) As Boolean

Parameters

Name Type Description
element UIElement

An object whose LayoutControl.UseDesiredWidthAsMaxWidth property's value is to be returned.

Returns

Type Description
Boolean

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

See Also