Class Toolbar
The Toolbar control supports displaying a list of tools within a web page. This control is capable of customizing toolbar items with any functionality by using enriched client-side methods.
Implements
System.Web.IHtmlString
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 Toolbar : Control, IHtmlString
Constructors
Toolbar()
Initializes a new instance of the Toolbar class.
Declaration
public Toolbar()
Toolbar(String, ToolbarProperties)
Initializes a new instance of the Toolbar class.
Declaration
public Toolbar(string id, ToolbarProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier |
ToolbarProperties | propModel | The property model |
Properties
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the button element as 'ejToolbar'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets the tag name of the button element as 'div'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToolbarModel
Gets or sets the Toolbar properties to the model.
Declaration
public ToolbarProperties ToolbarModel { get; set; }
Property Value
Type | Description |
---|---|
ToolbarProperties |
Methods
CreateContainer(String)
Represents an HTML-encoded string of the Toolbar control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
RenderControl()
Declaration
protected string RenderControl()
Returns
Type | Description |
---|---|
System.String |
RenderControl(String)
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
RenderItems(ToolbarBaseItem)
Declaration
protected HtmlTag RenderItems(ToolbarBaseItem toolItem)
Parameters
Type | Name | Description |
---|---|---|
ToolbarBaseItem | toolItem |
Returns
Type | Description |
---|---|
HtmlTag |
RenderliContent(ToolbarBaseItem, HtmlTag)
Declaration
protected HtmlTag RenderliContent(ToolbarBaseItem li, HtmlTag liTag)
Parameters
Type | Name | Description |
---|---|---|
ToolbarBaseItem | li | |
HtmlTag | liTag |
Returns
Type | Description |
---|---|
HtmlTag |
Implements
System.Web.IHtmlString