AutoCompleteBox: Header template

Editors for WPF Forum

Posted 2 years 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 years 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

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.