LayoutControl.SetUseDesiredWidthAsMaxWidth(UIElement, Boolean) Method

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

Namespace: DevExpress.Xpf.LayoutControl

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


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


Name Type Description
element UIElement

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

value Boolean

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

See Also