GridToolbarSettingsAdaptivity.CollapseRootItemsToIconsAtWindowInnerWidth Property
Gets or sets a value that defines the maximum browser window inner width when the toolbar hides an items’ text and displays only icons.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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 CollapseRootItemsToIconsAtWindowInnerWidth |
---|---|
GridToolbar |
|
Remarks
The toolbar hides the text of its items and displays only icons when the browser window’s width is less than the value defined by the CollapseRootItemsToIconsAtWindowInnerWidth property.
The CollapseRootItemsToIconsAtWindowInnerWidth property is in effect only when the Enabled and the EnableCollapseRootItemsToIcons properties are set to true
.
<dx:ASPxGridView runat="server" ID="Grid" ...>
<Toolbars>
<dx:GridViewToolbar>
<SettingsAdaptivity Enabled="true" EnableCollapseRootItemsToIcons="true"
CollapseRootItemsToIconsAtWindowInnerWidth="800" />
<Items>
<dx:GridViewToolbarItem Command="New" />
<dx:GridViewToolbarItem Command="Edit" />
...
</Items>
</dx:GridViewToolbarItem>
...
</Toolbars>
<Columns>
...
</Columns>
</dx:ASPxGridView>
Concept
Online Demo
See Also