Skip to main content

GanttToolbarItemBuilder.CssClass(String) Method

Specifies a CSS class to be applied to the item. Mirrors the client-side cssClass option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GanttToolbarItemBuilder CssClass(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
GanttToolbarItemBuilder

A reference to this instance after the method is called.

Remarks

@(Html.DevExtreme().Gantt()
    .Toolbar(toolbar => toolbar
        .Items(items => {
            items.Add().CssClass("class_name")
        })
    )
)
See Also