Skip to main content
All docs
V26.1
  • DxDropDown.AllowResize Property

    Specifies whether the drop-down window can be resized.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v26.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [Parameter]
    public bool AllowResize { get; set; }

    Property Value

    Type Description
    Boolean

    true, to enable window resizing; otherwise, false.

    Remarks

    You can restrict drop-down window sizes with the following properties: MinWidth, MinHeight, MaxWidth, and MaxHeight.

    <DxButton Id="showDDbtton" Click="() => IsOpen = true">Show a drop-down window</DxButton>
    <DxDropDown AllowResize="true"
                MinWidth="200"
                Width="max(25vw, 300px)"
                MaxWidth="400"
                MinHeight="200"
                Height="250"
                MaxHeight="400"
                BodyText="Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
                @bind-IsOpen="@IsOpen"
                PositionTarget="#showDDbtton"
                PositionMode="DropDownPositionMode.Bottom">
    </DxDropDown>
    
    @code {
        bool IsOpen { get; set; } = false;
    }
    
    See Also