Skip to main content
Tab

GridToolbarItem.DisplayMode Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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