Skip to main content
A newer version of this page is available. .
Tab

GridToolbarItem.DisplayMode Property

Gets or sets the display mode of the current toolbar item within the toolbar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(GridToolbarItemDisplayMode.ImageWithText)]
public GridToolbarItemDisplayMode DisplayMode { get; set; }

Property Value

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.

Remarks

Use the DisplayMode property to control how the toolbar item should be represented within the grid’s toolbar.

See Also