Class AccordionBaseItemBuilder
Inheritance
System.Object
AccordionBaseItemBuilder
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 AccordionBaseItemBuilder
Constructors
AccordionBaseItemBuilder(AccordionBaseItem)
Initializes a new instance of the ToolbarBaseItemBuilder class.
Declaration
public AccordionBaseItemBuilder(AccordionBaseItem item)
Parameters
Type | Name | Description |
---|---|---|
AccordionBaseItem | item |
Methods
AjaxUrl(String)
Accordion base item ajax url
Declaration
public AccordionBaseItemBuilder AjaxUrl(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | url |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns string value |
ContentTemplate(Action<AccordionBaseItem>)
Specify the Accordion content template
Declaration
public AccordionBaseItemBuilder ContentTemplate(Action<AccordionBaseItem> contentTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AccordionBaseItem> | contentTemplate | content template |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns accordion base item builder value |
ContentTemplate(Func<AccordionBaseItem, Object>)
Specify the Accordion content template
Declaration
public AccordionBaseItemBuilder ContentTemplate(Func<AccordionBaseItem, object> contentTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<AccordionBaseItem, System.Object> | contentTemplate | content template |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns accordion base item builder value |
HeaderTemplate(Action<AccordionBaseItem>)
Specify the Accordion header template
Declaration
public AccordionBaseItemBuilder HeaderTemplate(Action<AccordionBaseItem> headerTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AccordionBaseItem> | headerTemplate | header template |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns accordion base item builder value |
HeaderTemplate(Func<AccordionBaseItem, Object>)
Specify the Accordion header template
Declaration
public AccordionBaseItemBuilder HeaderTemplate(Func<AccordionBaseItem, object> headerTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<AccordionBaseItem, System.Object> | headerTemplate | header template |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns accordion base item builder value |
ID(String)
Accordion base item id
Declaration
public AccordionBaseItemBuilder ID(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns string value |
Text(String)
Accordion base item text
Declaration
public AccordionBaseItemBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | text |
Returns
Type | Description |
---|---|
AccordionBaseItemBuilder | This method returns string value |