Skip to main content

AccordionItem.SearchTag Attached Property

Gets or sets a string that is used by the AccordionControl while filtering. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v22.1.dll

NuGet Package: DevExpress.Wpf.Accordion



Type Description

A String value.


Accordion items are filtered based on their AccordionItem.Header property value by default.

You can specify a search tag for an accordion item using the SearchTag property. An accordion item whose search tag meets the filter criteria is included in the search result regardless of its AccordionItem.Header property value.

The following code sample demonstrates a data editor explicitly wrapped in an AccordionItem object that has a specified search tag:

<dxa:AccordionControl ShowSearchControl="True">
   <!-- -->
   <dxa:AccordionItem SearchTag="edit">

The image below shows the result:



Only accordion items defined explicitly (not generated from a data source) support search tags.

Refer to the Searching topic to learn more.

See Also