API Reference
Enum
AccordionBehavior
Flags that control advanced accordion behavior without relying on Bootstrap's data-bs-parent grouping.
Inheritance
- Enum
- AccordionBehavior
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const AccordionBehavior SingleOpenClosable #Keep at most one item open at a time, but allow closing the last open item (implemented without data-bs-parent to permit closing the last).
Value:
1public const AccordionBehavior PersistState #Persist open/closed state across reloads using localStorage.
Value:
2public const AccordionBehavior Searchable #Adds a small search box above the accordion and filters items by header text, including inline badges and trailing header content.
Value:
4