ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AccordionAccordionItem - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AccordionAccordionItem

    Inheritance
    System.Object
    EJTagHelper
    AccordionAccordionItem
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Navigations
    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
    Type Description
    MvcTemplate<System.Object>

    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

    Header

    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
    EJTagHelper.IsChild

    Visible

    Sets false to hide an accordion item.

    Declaration
    public object Visible { get; set; }
    Property Value
    Type Description
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved