menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolBarOptionsBuilder

    Show / Hide Table of Contents

    Class ToolBarOptionsBuilder

    Inheritance
    System.Object
    ToolBarOptionsBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class ToolBarOptionsBuilder

    Constructors

    ToolBarOptionsBuilder(ToolBarOptions)

    It sets the value to display the item in toolbar

    Declaration
    public ToolBarOptionsBuilder(ToolBarOptions tools)
    Parameters
    Type Name Description
    ToolBarOptions tools

    It accepts the ToolBarOptoins value and display the toolbar item

    Methods

    CustomToolbarItems(Action<GanttCustomToolbarItemBuilder>)

    It set the custom items in toolbar

    Declaration
    public ToolBarOptionsBuilder CustomToolbarItems(Action<GanttCustomToolbarItemBuilder> customItems)
    Parameters
    Type Name Description
    System.Action<GanttCustomToolbarItemBuilder> customItems

    It accepts the GanttCustomToolbarItemBuild value and shwo custom item in toolbar

    Returns
    Type Description
    ToolBarOptionsBuilder

    ToolBarOptionsBuilder

    CustomToolbarItems(List<GanttCustomToolbarItem>)

    It set the custom items in toolbar

    Declaration
    public ToolBarOptionsBuilder CustomToolbarItems(List<GanttCustomToolbarItem> customItems)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttCustomToolbarItem> customItems

    It accepts the GanttCustomToolbarItem value and shwo custom item in toolbar

    Returns
    Type Description
    ToolBarOptionsBuilder

    It set the custom items in toolbar

    ShowToolbar()

    It enable the toolbar.

    Declaration
    public ToolBarOptionsBuilder ShowToolbar()
    Returns
    Type Description
    ToolBarOptionsBuilder

    ToolBarOptionsBuilder

    ShowToolbar(Boolean)

    It set the enables or disables toolbar in gantt

    Declaration
    public ToolBarOptionsBuilder ShowToolbar(bool ShowToolbar)
    Parameters
    Type Name Description
    System.Boolean ShowToolbar

    It accepts the boolean value and enables/disables the toolbar

    Returns
    Type Description
    ToolBarOptionsBuilder

    ToolBarOptionsBuilder

    ToolbarItems(List<GanttToolBarItems>)

    It set the list of toolbar items to rendered in toolbar

    Declaration
    public ToolBarOptionsBuilder ToolbarItems(List<GanttToolBarItems> defaultItems)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttToolBarItems> defaultItems

    It accepts the GanttToolBarItems value and show the item in toolbar

    Returns
    Type Description
    ToolBarOptionsBuilder

    ToolBarOptionsBuilder

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved