Back to Devexpress

DxAccordion Members

blazor-devexpress-dot-blazor-dot-dxaccordion-dot-underscore-members.md

latest9.6 KB
Original Source

DxAccordion Members

A side navigation control that can organize items into collapsible groups.

Constructors

NameDescription
DxAccordion()Initializes a new instance of the DxAccordion class.

Properties

NameDescription
AnimationTypeSpecifies the animation type.
AttributesSpecifies a collection of standard HTML attributes applied to the Accordion.
CssClassAssigns a CSS class to the component. Inherited from DxComponent.
CustomFilterAllows you to implement custom filter logic.
DataSpecifies the data source.
DataMappingsSpecifies data mappings.
EnabledSpecifies whether the Accordion component is enabled.
ExpandCollapseActionSpecifies the user action that expands or collapses the item.
ExpandModeSpecifies how many items can be expanded at a time.
FilterMinLengthSpecifies the minimum number of characters a user must type in the search box to apply the filter.
FilterNullTextSpecifies the filter panel’s prompt text.
FilterStringSpecifies the filter criteria used to filter the component’s items.
IdSpecifies the component’s unique identifier. Inherited from DxComponent.
ItemContentTemplateSpecifies a content template for all Accordion items.
ItemHeaderTextTemplateSpecifies a header text template for all Accordion items.
ItemsSpecifies the collection of the Accordion’s items.
ItemTemplateSpecifies the template used to display Accordion items.
LoadChildItemsOnDemandSpecifies whether the Accordion’s child items are loaded on demand.
RootItemCollapseButtonIconCssClassSpecifies the CSS class name for a root item’s Collapse button icon.
RootItemExpandButtonDisplayModeSpecifies where the Accordion component displays its expand button for root items.
RootItemExpandButtonIconCssClassSpecifies the CSS class name for a root item’s Expand button icon.
SelectionModeSpecifies the selection mode.
ShowFilterPanelSpecifies whether the Accordion displays the filter panel.
SizeModeSpecifies the size of the component’s inner elements. Also affects the component’s size.
SubItemCollapseButtonIconCssClassSpecifies the CSS class name for a subitem’s Collapse button icon.
SubItemExpandButtonDisplayModeSpecifies where the Accordion component displays expand and collapse buttons for nested items.
SubItemExpandButtonIconCssClassSpecifies the CSS class name for a subitem’s Expand button icon.
TargetSpecifies the target attribute’s value for all items.
UrlMatchModeSpecifies whether the item becomes selected if its NavigateUrl property value matches the active web page. If the control does select the item, it expands all parent items.
VisibleSpecifies the Accordion component’s visibility.

Methods

NameDescription
ClearSelection()Clears selection.
CollapseAll()Collapses all items.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ExpandAll()Expands all items.
ExpandToItem(Func<IAccordionItemInfo, Boolean>)Expands items down to the specified item.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetItemExpanded(Func<IAccordionItemInfo, Boolean>)Returns whether the specified item is expanded.
GetItemInfo(Func<IAccordionItemInfo, Boolean>)Returns information about the specified item.
GetItemsInfo(Func<IAccordionItemInfo, Boolean>)Returns information about the specified items.
GetSelectedItemInfo()Returns information about the selected item.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
SelectItem(Func<IAccordionItemInfo, Boolean>)Selects the specified item.
SetItemExpanded(Func<IAccordionItemInfo, Boolean>, Boolean)Expands or collapses the specified node.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
AfterCollapseFires after an item was collapsed.
AfterExpandFires after an item was expanded.
BeforeCollapseFires when an item is about to be collapsed and allows you to cancel the action.
BeforeExpandFires when an item is about to be expanded and allows you to cancel the action.
FilterStringChangedFires when a component’s filter string changes.
ItemClickFires when a user clicks an Accordion item.
SelectionChangedFires when a collection of selected Accordion items changes.

See Also

DxAccordion Class

DevExpress.Blazor Namespace