Skip to main content

GanttToolbarItemCollection.AddCustomItem(Action<GanttCustomToolbarItem>) Method

Adds a custom toolbar item.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void AddCustomItem(
    Action<GanttCustomToolbarItem> method
)

Parameters

Name Type Description
method Action<GanttCustomToolbarItem>

A delegate method.

Remarks

settings.SettingsToolbar.Items.AddCustomItem(i => {
    i.Text = "About";
    i.CommandName = "About";
    i.BeginGroup = true;
    i.Image.IconID = "iconbuilder_actions_info_svg_gray_16x16";
});

Examples

Online Demo

Gantt - Toolbar

See Also