Search
Accordion Members
Constructors Properties Methods Events
 


A Blazor component that displays a list of collapsible panels.

The following tables list the members exposed by the Accordion type.

 Public Constructors

  Name Description

Accordion

Initializes a new instance of the Accordion class.

 Public Properties

  Name Description

ChildContent

Gets or sets the content to display.

ExpandedItems

Gets the list of currently expanded items.

ExpandMode

Gets or sets a value indicating whether multiple items can be expanded.

Items

Gets the list of items displayed in the control.

ItemSize

Gets or sets the size of the category headers.

StyleAttributes

Gets or sets a list of custom style attributes to be applied to the control's DOM element.

Theme

Gets or sets the CSS theme of the control.

 Public Methods

  Name Description

CollapseItem

Collapses the specified item.

CollapseItems

Collapses the specified items.

ExpandItem

Expands the specified item.

ExpandItems

Expands the specified items.

OnItemClicked

 

ToggleItem

Toggles the expanded mode of the specified item.

 Protected Methods

  Name Description

BuildRenderTree

 

OnAfterRender

 

 Public Events

  Name Description

ItemToggle

Raised when an item is expanded or collapsed.

ItemToggling

Raised when an item is being expanded or collapsed.

 See Also