Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AccordionControl.QueryItemTemplate Event

Allows you to assign HTML-CSS templates to individual elements.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event QueryAccordionItemTemplateEventHandler QueryItemTemplate

#Event Data

The QueryItemTemplate event's data class is DevExpress.XtraBars.Navigation.QueryAccordionItemTemplateEventArgs.

#Remarks

The following properties specify default HTML-CSS templates used to render AccordionControl elements:

Subscribe to the QueryItemTemplate event to override the default templates for individual elements. The QueryItemTemplate event fires repeatedly for each AccordionControl element.

See Also