Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxSplitterPane.AllowResize Property

Specifies whether users can resize the pane.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(true)]
[Parameter]
public bool AllowResize { get; set; }

#Property Value

Type Default Description
Boolean true

true, to allow users to resize the pane; otherwise, false.

#Remarks

Enable the AllowResize property to allow users to resize the pane. Use the MinSize and MaxSize properties to restrict changes to the pane. The Size property specify the initial pane size.

When the size changes, the splitter fires the SizeChanged event.

razor
<DxSplitter CssClass="border" Height="220px" Width="100%">
    <Panes>
        <DxSplitterPane>Resizable only</DxSplitterPane>
        <DxSplitterPane>
            <DxSplitter Orientation="Orientation.Vertical">
                <Panes>
                    <DxSplitterPane AllowCollapse="true">Resizable and collapsible</DxSplitterPane>
                    <DxSplitterPane AllowCollapse="true">
                        <DxSplitter>
                            <Panes>
                                <DxSplitterPane AllowCollapse="true">Resizable and collapsible</DxSplitterPane>
                                <DxSplitterPane>Resizable only</DxSplitterPane>
                                <DxSplitterPane AllowCollapse="true">Resizable and collapsible</DxSplitterPane>
                            </Panes>
                        </DxSplitter>
                    </DxSplitterPane>
                </Panes>
            </DxSplitter>
        </DxSplitterPane>
        <DxSplitterPane AllowResize="false">Non-resizable and non-collapsible</DxSplitterPane>
    </Panes>
</DxSplitter>

See Also