aspnet-devexpress-dot-web-dot-gridtoolbaritem.md
Gets or sets the display mode of the current toolbar item within the toolbar.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(GridToolbarItemDisplayMode.ImageWithText)]
public GridToolbarItemDisplayMode DisplayMode { get; set; }
<DefaultValue(GridToolbarItemDisplayMode.ImageWithText)>
Public Property DisplayMode As GridToolbarItemDisplayMode
| Type | Default | Description |
|---|---|---|
| GridToolbarItemDisplayMode | ImageWithText |
One of the GridToolbarItemDisplayMode enumeration values.
|
Available values:
| Name | Description |
|---|---|
| ImageWithText |
The toolbar item is rendered as an image and text.
| | Image |
The toolbar item is rendered as an image.
| | Text |
The toolbar item is rendered as the text.
|
Use the DisplayMode property to control how the toolbar item should be represented within the grid’s toolbar.
See Also