Skip to content

Add support for ItemsControl Header and Footer #10745

Closed
@jeromelaban

Description

@jeromelaban

Originally posted by @michael-hawker in #1979 (comment)

We could do a bunch of extra work with a StackPanel and ContentPresenters, but it's super simple to hook-in to the existing properties on the ItemsPresenter for this scenario:

     <ItemsPresenter win:Footer="{TemplateBinding ItemsFooter}"
                     win:Header="{TemplateBinding ItemsHeader}"
                     TabFocusNavigation="Local" />

Metadata

Metadata

Assignees

Labels

area/listview 📃Categorizes an issue or PR as relevant to the ListView controldifficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingkind/enhancementNew feature or requestproject/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)project/layout 🧱Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions