AutoCompleteBox: Header template

Editors for WPF Forum

The latest build of this product (v22.1.2) was released 3 months ago, which was before this thread was created.
Posted 2 months ago by Ed
Version: 20.1.2
Avatar

Does the AutoCompleteBox have a way of defining a header template to display at the top of the popup?

My ItemTemplate defines a grid with columns, in which various fields are displayed successfully. But I would like a header to be displayed to show the column titles.

This is our current implementation (using an alternative AutoCompleteBox solution) showing the table headers for each item template.  (I'm having to remove that solution due to a binding issue).

Comments (1)

Answer - Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Ed,

The AutoCompleteBox's popup currently just shows an embedded ListBox within it and doesn't have anything else defined in its template, except a no-items ContentPresenter.  We will add PopupHeader, PopupHeaderTemplate, and PopupHeaderTemplateSelector properties for the next maintenance release that will allow you to inject a header into the popup.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.