Name | Type | Default | Description |
Arrow | AccordionItemArrow | AccordionItemArrow.Left | Specifies or retrieves the position of the arrow indicator within the header. Accepts values such as 'left', 'right', or 'none'. When set to 'none', the arrow will not be displayed in the header. |
Content | string | "" | Sets or retrieves the content of the item. Use this property to assign new content to the item or to access its current content value. |
IsExpanded | bool | false | Gets or sets whether the element is in its expanded or collapsed state. When set to true, the element is expanded and its content is visible; when false, the element is collapsed and its content is hidden. |
Focused | bool | false | Gets or sets whether the element currently has input focus. When set to true, the element receives focus; when set to false, the element loses focus. This property reflects the element's current focus state within the user interface. |
Label | string | "" | Sets or retrieves the label of the item. This property allows you to assign a descriptive name to the item or access its current label. |
Name | Type | Description | Event Detail |
OnCollapse | EventCallback<Event> | This event is triggered whenever the item transitions from an expanded to a collapsed state, typically as a result of user interaction or a programmatic action. Use this event to execute custom logic or update the UI when the item is hidden or minimized. | N/A |
Collapsed | event AccordionItemCollapsedEventHandler | This event is triggered whenever the item transitions from an expanded to a collapsed state, typically as a result of user interaction or a programmatic action. Use this event to execute custom logic or update the UI when the item is hidden or minimized. | AccordionItemCollapsedEventArgs |
OnExpand | EventCallback<Event> | This event is triggered when a user expands an item, such as clicking to reveal additional content or details. It typically occurs after the expansion animation or transition is complete, indicating that the item is now fully visible. Use this event to perform actions that should only occur once the item has been expanded, such as loading related data or updating the user interface. | N/A |
Expanded | event AccordionItemExpandedEventHandler | This event is triggered when a user expands an item, such as clicking to reveal additional content or details. It typically occurs after the expansion animation or transition is complete, indicating that the item is now fully visible. Use this event to perform actions that should only occur once the item has been expanded, such as loading related data or updating the user interface. | AccordionItemExpandedEventArgs |