Class DesignerToolbarSettingsBuilder
Class for ToolbarSettingsBuilder.
Inheritance
System.Object
DesignerToolbarSettingsBuilder
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 DesignerToolbarSettingsBuilder
Constructors
DesignerToolbarSettingsBuilder(ToolbarSettings)
Initializes a new instance of the DesignerToolbarSettingsBuilder class.
Declaration
public DesignerToolbarSettingsBuilder(ToolbarSettings toolbarSettings)
Parameters
Type | Name | Description |
---|---|---|
ToolbarSettings | toolbarSettings | Gets the toolbar property settings. |
Methods
Items(ToolbarItems)
Sets the toolbar items.
Declaration
public DesignerToolbarSettingsBuilder Items(ToolbarItems value)
Parameters
Type | Name | Description |
---|---|---|
ToolbarItems | value | Gets the items list to be enabled in toolbar. |
Returns
Type | Description |
---|---|
DesignerToolbarSettingsBuilder | ToolbarSettingsBuilder. |
ShowToolbar(Boolean)
Shows or hides the toolbar.
Declaration
public DesignerToolbarSettingsBuilder ShowToolbar(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | if set to |
Returns
Type | Description |
---|---|
DesignerToolbarSettingsBuilder | ToolbarSettingsBuilder. |
TemplateId(String)
Sets the toolbar template ID property.
Declaration
public DesignerToolbarSettingsBuilder TemplateId(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Gets the template id for toolbar. |
Returns
Type | Description |
---|---|
DesignerToolbarSettingsBuilder | ToolbarSettingsBuilder. |