Skip to main content
All docs
V26.1
  • Tab

    GridToolbarSettingsAdaptivity.CollapseToSideMenuAtWindowInnerWidth Property

    Gets or sets a value that defines the maximum browser window inner width when the toolbar collapses its items to the side menu.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v26.1.dll

    Declaration

    [DefaultValue(575)]
    public int CollapseToSideMenuAtWindowInnerWidth { get; set; }

    Property Value

    Type Default Description
    Int32 575

    The browser inner window width in pixels.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to CollapseToSideMenuAtWindowInnerWidth
    GridToolbar
    .SettingsAdaptivity .CollapseToSideMenuAtWindowInnerWidth

    Remarks

    The toolbar collapses its items to the side menu when the browser inner width is less than the value defined by the CollapseToSideMenuAtWindowInnerWidth property.

    The CollapseToSideMenuAtWindowInnerWidth property is in effect only when the Enabled and the EnableCollapseToSideMenu properties are set to true.

    <dx:ASPxGridView runat="server" ID="Grid" ...>
        <Toolbars>
            <dx:GridViewToolbar>
                <SettingsAdaptivity Enabled="true" EnableCollapseToSideMenu="true" 
                CollapseToSideMenuAtWindowInnerWidth="500" />
                <Items>
                    <dx:GridViewToolbarItem Command="New" />
                    <dx:GridViewToolbarItem Command="Edit" />
                    ...
                </Items>
            </dx:GridViewToolbarItem>
            ...
        </Toolbars>
        <Columns>
        ...
        </Columns>    
    </dx:ASPxGridView>
    

    Concept

    Toolbars

    Online Demo

    ASPxGridView - Toolbar

    See Also