Back to Devexpress

ToolbarItemLocation Enum

aspnetcore-devextreme-dot-aspnet-dot-mvc-168348f5.md

latest878 B
Original Source

ToolbarItemLocation Enum

Lists values that specify the toolbar item’s location.

Namespace : DevExtreme.AspNet.Mvc

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
[JsonConverter(typeof(StringEnumConverter))]
public enum ToolbarItemLocation

Members

NameDescription
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

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

See Also

DevExtreme.AspNet.Mvc Namespace