Windows.UI.Xaml.Controls.Primitives.ListViewItemPresenter
June 22, 2022 · View on GitHub
-description
Represents the visual elements of a ListViewItem. When developing for Windows 10, use ListViewItemPresenter instead of GridViewItemPresenter in your item container style, both for ListView and for GridView. If you edit a copy of the default item container styles then you will get the correct type.
-xaml-syntax
<ListViewItemPresenter .../>
-remarks
The XAML usage shown is intended to be part of a XAML template or style for a ListView control (or derived type) and its items. For more info, see ListView.
For a custom ListViewItemPresenter, use the name of your class as the string within the object element syntax for XAML. You'll probably have to map an xmlns definition with a prefix to refer to your class definition. For more info, see XAML namespaces and namespace mapping.
Version history
| Windows version | SDK version | Value added |
|---|---|---|
| 1709 | 16299 | RevealBackground |
| 1709 | 16299 | RevealBackgroundShowsAboveContent |
| 1709 | 16299 | RevealBorderBrush |
| 1709 | 16299 | RevealBorderThickness |