Class ToolbarFieldsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class ToolbarFieldsBuilder
Constructors
ToolbarFieldsBuilder(ToolbarFields)
Initializes a new instance of the ToolbarFieldsBuilder class.
Declaration
public ToolbarFieldsBuilder(ToolbarFields fields)
Parameters
Type | Name | Description |
---|---|---|
ToolbarFields | fields |
Methods
Group(String)
Defines the group name for the item.
Declaration
public ToolbarFieldsBuilder Group(string group)
Parameters
Type | Name | Description |
---|---|---|
System.String | group | group |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns object value |
HtmlAttributes(String)
Defines the HTML attributes such as id, class, styles for the item to extend the capability.
Declaration
public ToolbarFieldsBuilder HtmlAttributes(string htmlAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | htmlAttributes | htmlAttributes |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns object value |
ID(String)
Defines id for the tag.
Declaration
public ToolbarFieldsBuilder ID(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns string value |
ImageAttributes(String)
Defines the image attributes such as height, width, styles and so on.
Declaration
public ToolbarFieldsBuilder ImageAttributes(string imageAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageAttributes | imageAttributes |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns string value |
ImageUrl(String)
Defines the imageURL for the image location.
Declaration
public ToolbarFieldsBuilder ImageUrl(string imageUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageUrl | imageUrl |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns string value |
SpriteCssClass(String)
Defines the sprite CSS for the image tag.
Declaration
public ToolbarFieldsBuilder SpriteCssClass(string spriteCssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | spriteCssClass | spriteCssClass |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns string value |
Text(String)
Defines the text content for the tag.
Declaration
public ToolbarFieldsBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | text |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns string value |
TooltipText(String)
Defines the tooltip text for the tag.
Declaration
public ToolbarFieldsBuilder TooltipText(string tooltipText)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltipText | tooltipText |
Returns
Type | Description |
---|---|
ToolbarFieldsBuilder | This method returns string value |