Class AccordionItemModel
Provides information about the accordion item.
Inheritance
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 |
---|
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 |
---|
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 |
---|
System.String |
Disabled
Gets or sets whether the accordion panel is disabled or not.
Declaration
public bool Disabled { get; set; }
Property Value
Type |
---|
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 |
---|
System.Boolean |
Header
Gets or sets the header text to be displayed for accordion item.
Declaration
public string Header { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.String |
Id
Gets or sets the unique ID for accordion item.
Declaration
public string Id { get; set; }
Property Value
Type |
---|
System.String |
Visible
Gets or sets whether the accordion panel is hidden or not.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |