Expose items List on RadzenAccordion, not just RenderFragment #1802

Open
opened 2026-01-29 17:58:48 +00:00 by claunia · 0 comments
Owner

Originally created by @Anspitzen on GitHub (Jul 7, 2025).

Is your feature request related to a problem? Please describe.
Not possible to just expand all Items in a Accordion, if the accordion is not dynamically generated.

Describe the solution you'd like
Expose the list of RadzenAccordionItem to enable a .ForEach() over it to collapse/expand all of them

Describe alternatives you've considered

  • Dynamically generating the Items like shown in the sample, but I have more parameters to put into the item, so I don't have a real Enumeration to itterate and have to put in Components myself
  • bind-Selected on each of the Items I put into the Accordion and make an own expand/collapse function, but there are a lot (subtly different) Items and that approach is vulnerable to missing one (especially later when expanding it)
    EDIT: - Expose the GetSElected() and SetSelected() Methods of the RadzenAccordionItem, but then again it would need the list to iterate
Originally created by @Anspitzen on GitHub (Jul 7, 2025). **Is your feature request related to a problem? Please describe.** Not possible to just expand all Items in a Accordion, if the accordion is not dynamically generated. **Describe the solution you'd like** Expose the list of RadzenAccordionItem to enable a .ForEach() over it to collapse/expand all of them **Describe alternatives you've considered** - Dynamically generating the Items like shown in the sample, but I have more parameters to put into the item, so I don't have a real Enumeration to itterate and have to put in Components myself - bind-Selected on each of the Items I put into the Accordion and make an own expand/collapse function, but there are a lot (subtly different) Items and that approach is vulnerable to missing one (especially later when expanding it) EDIT: - Expose the GetSElected() and SetSelected() Methods of the RadzenAccordionItem, but then again it would need the list to iterate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1802