O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Header and Footer

Like ComboBox, ListView has a Header property of type Object. It also has a Footer property of type Object. These could be set to simple strings, UIElements, or used in conjunction with HeaderTemplate and FooterTemplate properties.

This header and footer work differently than the way the header works with ComboBox. Rather than remaining in a stationary position, the header and footer scroll along with the content. Therefore, these properties provide a way to inject a special first and/or last element in the list that doesn’t participate in selection.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required