Class ToolbarSettingsBuilder
Class for ToolbarSettingsBuilder.
Inheritance
System.Object
ToolbarSettingsBuilder
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 ToolbarSettingsBuilder
Constructors
ToolbarSettingsBuilder(ToolbarSettings)
Initializes a new instance of the ToolbarSettingsBuilder class.
Declaration
public ToolbarSettingsBuilder(ToolbarSettings toolbarSettings)
Parameters
Type | Name | Description |
---|---|---|
ToolbarSettings | toolbarSettings | The toolbar settings. |
Methods
Click(String)
Fires when user click on toolbar item in the toolbar.
Declaration
public ToolbarSettingsBuilder Click(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |
CustomGroups(List<CustomGroup>)
Add the Custom Groups in the toolbar.
Declaration
public ToolbarSettingsBuilder CustomGroups(List<CustomGroup> value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<CustomGroup> | value | The value. |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |
CustomItems(List<CustomItem>)
Add the Custom Items in the toolbar.
Declaration
public ToolbarSettingsBuilder CustomItems(List<CustomItem> value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<CustomItem> | value | The value. |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |
Items(ToolbarItems)
Specifies the toolbar items.
Declaration
public ToolbarSettingsBuilder Items(ToolbarItems value)
Parameters
Type | Name | Description |
---|---|---|
ToolbarItems | value | The value. |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |
ShowToolbar(Boolean)
Shows or hides the toolbar.
Declaration
public ToolbarSettingsBuilder ShowToolbar(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | if set to |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |
ShowTooltip(Boolean)
Shows or hides the tooltip of toolbar items.
Declaration
public ToolbarSettingsBuilder ShowTooltip(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | if set to |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |
TemplateId(String)
Specifies the toolbar template ID.
Declaration
public ToolbarSettingsBuilder TemplateId(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
ToolbarSettingsBuilder | ToolbarSettingsBuilder. |