menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AccordionItemModel - API Reference

    Show / Hide Table of Contents

    Class AccordionItemModel

    Provides information about the accordion item.

    Inheritance
    System.Object
    AccordionItemModel
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccordionItemModel : Object

    Constructors

    AccordionItemModel()

    Declaration
    public AccordionItemModel()

    Properties

    Content

    Gets or sets the text content to be displayed for accordion item.

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String

    ContentTemplate

    Gets or sets the template as Microsoft.AspNetCore.Components.RenderFragment, that defines custom appearance of accordion content.

    Declaration
    public RenderFragment ContentTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    CssClass

    Gets or sets the classes for accordion item to customize the accordion header and content.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    Disabled

    Gets or sets whether the accordion panel is disabled or not.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Expanded

    Gets or sets a value that indicates whether the accordion panel is expanded or not.

    Declaration
    public bool Expanded { get; set; }
    Property Value
    Type Description
    System.Boolean

    Header

    Gets or sets the header text to be displayed for accordion item.

    Declaration
    public string Header { get; set; }
    Property Value
    Type Description
    System.String

    HeaderTemplate

    Gets or sets the template as Microsoft.AspNetCore.Components.RenderFragment, that defines custom appearance of accordion header.

    Declaration
    public RenderFragment HeaderTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    IconCss

    Gets or sets a CSS class string to include an icon or image for accordion header.

    Declaration
    public string IconCss { get; set; }
    Property Value
    Type Description
    System.String

    Id

    Gets or sets the unique ID for accordion item.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    Visible

    Gets or sets whether the accordion panel is hidden or not.

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