Skip to main content
JS

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolbarItemShowTextMode Enum

Lists values that specify how to display toolbar items’ text.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
[JsonConverter(typeof(StringEnumConverter))]
public enum ToolbarItemShowTextMode

#Members

Name Description
Always

Always display the toolbar item texts.

InMenu

Displays toolbar item texts in the menu.

#Remarks

@(Html.DevExtreme().Gantt()
    .Toolbar(toolbar => toolbar
        .Items(items => {
            items.Add().MenuItemTemplate(ToolbarItemShowTextMode.Always)
        })
    )
)
See Also