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

ToolbarItemLocation Enum

Lists values that specify the toolbar item’s location.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

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

#Members

Name Description
After

Places the item after the central element(s).

Before

Places the item before the central element(s).

Center

Places the item in the center of the toolbar.

#Remarks

@(Html.DevExtreme().Gantt()
    .Toolbar(toolbar => toolbar
        .Items(items => {
            items.Add().location(ToolbarItemLocation.Center)
        })
    )
)
See Also