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

ToolbarItemLocation Enum

Lists values that specify the toolbar item’s location.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[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