Class AccordionAccordionItem
Inheritance
System.Object
AccordionAccordionItem
Assembly: Syncfusion.EJ2.dll
Syntax
public class AccordionAccordionItem : EJTagHelper
Constructors
AccordionAccordionItem()
Declaration
public AccordionAccordionItem()
Properties
Content
Sets the text content to be displayed for the Accordion item.
You can set the content of the Accordion item using content
property.
It also supports to include the title as HTML element
, string
, or query selector
.
Declaration
public string Content { get; set; }
Property Value
Type |
Description |
System.String |
|
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
CssClass
Defines single/multiple classes (separated by a space) are to be used for Accordion item customization.
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Disabled
Sets true to disable an accordion item.
Declaration
public object Disabled { get; set; }
Property Value
Type |
Description |
System.Object |
|
Expanded
Sets the expand (true) or collapse (false) state of the Accordion item. By default, all the items are in a collapsed state.
Declaration
public object Expanded { get; set; }
Property Value
Type |
Description |
System.Object |
|
Sets the header text to be displayed for the Accordion item.
You can set the title of the Accordion item using header
property.
It also supports to include the title as HTML element
, string
, or query selector
.
Declaration
public string Header { get; set; }
Property Value
Type |
Description |
System.String |
|
IconCss
Defines an icon with the given custom CSS class that is to be rendered before the header text.
Add the css classes to the iconCss
property and write the css styles to the defined class to set images/icons.
Adding icon is applicable only to the header.
Declaration
public string IconCss { get; set; }
Property Value
Type |
Description |
System.String |
|
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Visible
Sets false to hide an accordion item.
Declaration
public object Visible { get; set; }
Property Value
Type |
Description |
System.Object |
|