Back to Devexpress

GridToolbarItem.DisplayMode Property

aspnet-devexpress-dot-web-dot-gridtoolbaritem.md

latest1.6 KB
Original Source

GridToolbarItem.DisplayMode Property

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

Declaration

csharp
[DefaultValue(GridToolbarItemDisplayMode.ImageWithText)]
public GridToolbarItemDisplayMode DisplayMode { get; set; }
vb
<DefaultValue(GridToolbarItemDisplayMode.ImageWithText)>
Public Property DisplayMode As GridToolbarItemDisplayMode

Property Value

TypeDefaultDescription
GridToolbarItemDisplayModeImageWithText

One of the GridToolbarItemDisplayMode enumeration values.

|

Available values:

NameDescription
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

GridToolbarItem Class

GridToolbarItem Members

DevExpress.Web Namespace