Class SplitButtonItemBuilder
Inheritance
System.Object
SplitButtonItemBuilder
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 SplitButtonItemBuilder
Constructors
SplitButtonItemBuilder(SplitButtonItem)
Initializes a new instance of the SplitButtonItemBuilder class by the split button item.
Declaration
public SplitButtonItemBuilder(SplitButtonItem item)
Parameters
Type | Name | Description |
---|---|---|
SplitButtonItem | item |
Fields
Item
Specifies the instance of the SplitButtonItem class.
Declaration
public SplitButtonItem Item
Field Value
Type | Description |
---|---|
SplitButtonItem |
Methods
Children(Action<SplitButtonItemAdder>)
Specifies the child elements.
Declaration
public SplitButtonItemBuilder Children(Action<SplitButtonItemAdder> child)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SplitButtonItemAdder> | child |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
HtmlAttributes(IDictionary<String, Object>)
Specifies to map the field of HTML attributes for split button items.
Declaration
public SplitButtonItemBuilder HtmlAttributes(IDictionary<string, object> itemHtmlAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | itemHtmlAttributes |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
ID(String)
Specifies the item ID.
Declaration
public SplitButtonItemBuilder ID(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
ImageAttributes(IDictionary<String, Object>)
Specifies the image attributes of the split button item.
Declaration
public SplitButtonItemBuilder ImageAttributes(IDictionary<string, object> imageattributes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | imageattributes |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
ImageUrl(String)
Specifies the image URL of the split button item.
Declaration
public SplitButtonItemBuilder ImageUrl(string imageurl)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageurl |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
LinkAttributes(IDictionary<String, Object>)
Specifies the link attributes of split button items.
Declaration
public SplitButtonItemBuilder LinkAttributes(IDictionary<string, object> itemlinkattributes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | itemlinkattributes |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
SpriteCssClass(String)
Specifies sprite CSS class for image theme customization.
Declaration
public SplitButtonItemBuilder SpriteCssClass(string spritecssclass)
Parameters
Type | Name | Description |
---|---|---|
System.String | spritecssclass |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
Text(String)
Specifies the item text.
Declaration
public SplitButtonItemBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The Item Text. |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |
Url(String)
Specifies item URL.
Declaration
public SplitButtonItemBuilder Url(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url |
Returns
Type | Description |
---|---|
SplitButtonItemBuilder |