Defines the fluent API for configuring List<TreeListToolbar<T>>
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListToolbarFactory<T> where T : class
Inheritance: objectTreeListToolbarFactory<T>
Inherited Members
Constructors
Initializes a new instance of the TreeListToolbarFactory<T> class.
public TreeListToolbarFactory(List<TreeListToolbar<T>> container)
The TreeListToolbarFactory container.
Properties
Gets the container of the TreeListToolbarFactory
protected List<TreeListToolbar<T>> Container { get; }
Methods
Adds an item for the cancel action.
public virtual TreeListToolbarBuilder<T> Cancel()
Returns the current TreeListToolbarBuilder<T> instance.
Adds an item for the create action.
public virtual TreeListToolbarBuilder<T> Create()
Returns a TreeListToolbarBuilder<T> with the available configuration options.
Adds an item for a custom action.
public virtual TreeListToolbarBuilder<T> Custom()
Returns a TreeListToolbarBuilder<T> with the available configuration options.
Adds a custom component to the toolbar.
public void Custom<TModel>(TemplateBuilder<TModel> template)
The template component configuration for the custom component
Adds an item for the excel action.
public virtual TreeListToolbarBuilder<T> Excel()
Returns a TreeListToolbarBuilder<T> with the available configuration options.
Adds an item for the pdf action.
public virtual TreeListToolbarBuilder<T> Pdf()
Returns a TreeListToolbarBuilder<T> with the available configuration options.
Adds an item for the save action.
public virtual TreeListToolbarBuilder<T> Save()
Returns the current TreeListToolbarBuilder<T> instance.
Adds an item for the search panel.
public virtual TreeListToolbarBuilder<T> Search()
Returns the current TreeListToolbarBuilder<T> instance.
Adds a separator to the ToolBar.
public void Separator()
Adds a spacer to the ToolBar.
public void Spacer()