ListViewItemPresenter
ListViewItemPresenter
ListViewItemPresenter
ListViewItemPresenter
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
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.
public : class ListViewItemPresenter : ContentPresenter, IListViewItemPresenter, IListViewItemPresenter2public class ListViewItemPresenter : ContentPresenter, IListViewItemPresenter, IListViewItemPresenter2Public Class ListViewItemPresenter Inherits ContentPresenter Implements IListViewItemPresenter, IListViewItemPresenter2// This API is not available in Javascript.
<ListViewItemPresenter .../>
- Inheritance
-
ListViewItemPresenterListViewItemPresenterListViewItemPresenterListViewItemPresenter
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited properties
Inherited events
Inherited methods
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.
Constructors
ListViewItemPresenter() ListViewItemPresenter() ListViewItemPresenter() ListViewItemPresenter()
Initializes a new instance of the ListViewItemPresenter class.
public : ListViewItemPresenter()public ListViewItemPresenter()Public Sub New()// This API is not available in Javascript.
Properties
CheckBoxBrush CheckBoxBrush CheckBoxBrush CheckBoxBrush
In a ListView in multiple selection mode, gets or sets the brush used to render an item's check box border. In a GridView, the check box background is set rather than the border, and only for unselected items.
public : Brush CheckBoxBrush { get; set; }public Brush CheckBoxBrush { get; set; }Public ReadWrite Property CheckBoxBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter CheckBoxBrush="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
CheckBoxBrushProperty CheckBoxBrushProperty CheckBoxBrushProperty CheckBoxBrushProperty
Identifies the CheckBoxBrush dependency property.
public : static DependencyProperty CheckBoxBrushProperty { get; }public static DependencyProperty CheckBoxBrushProperty { get; }Public Static ReadOnly Property CheckBoxBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CheckBoxBrush dependency property.
- See Also
CheckBrush CheckBrush CheckBrush CheckBrush
Gets or sets the brush used to render the check mark on a selected item.
public : Brush CheckBrush { get; set; }public Brush CheckBrush { get; set; }Public ReadWrite Property CheckBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter CheckBrush="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
CheckBrushProperty CheckBrushProperty CheckBrushProperty CheckBrushProperty
Identifies the CheckBrush dependency property.
public : static DependencyProperty CheckBrushProperty { get; }public static DependencyProperty CheckBrushProperty { get; }Public Static ReadOnly Property CheckBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CheckBrush dependency property.
CheckHintBrush CheckHintBrush CheckHintBrush CheckHintBrush
Gets or sets the brush used to render the check mark hint. This property is ignored for a Windows 10 app.
public : Brush CheckHintBrush { get; set; }public Brush CheckHintBrush { get; set; }Public ReadWrite Property CheckHintBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter CheckHintBrush="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
CheckHintBrushProperty CheckHintBrushProperty CheckHintBrushProperty CheckHintBrushProperty
Identifies the CheckHintBrush dependency property.
public : static DependencyProperty CheckHintBrushProperty { get; }public static DependencyProperty CheckHintBrushProperty { get; }Public Static ReadOnly Property CheckHintBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CheckHintBrush dependency property.
CheckMode CheckMode CheckMode CheckMode
Gets or sets the style of checkbox shown for selecting an item.
public : ListViewItemPresenterCheckMode CheckMode { get; set; }public ListViewItemPresenterCheckMode CheckMode { get; set; }Public ReadWrite Property CheckMode As ListViewItemPresenterCheckMode// This API is not available in Javascript.
<listViewItemPresenter CheckMode="checkModeMemberName"/>
- Value
- ListViewItemPresenterCheckMode ListViewItemPresenterCheckMode ListViewItemPresenterCheckMode ListViewItemPresenterCheckMode
A value of the enumeration that specifies the style of checkbox to show. The default is Inline.
- See Also
CheckModeProperty CheckModeProperty CheckModeProperty CheckModeProperty
Identifies the CheckMode dependency property.
public : static DependencyProperty CheckModeProperty { get; }public static DependencyProperty CheckModeProperty { get; }Public Static ReadOnly Property CheckModeProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CheckMode dependency property.
- See Also
CheckSelectingBrush CheckSelectingBrush CheckSelectingBrush CheckSelectingBrush
Gets or sets the brush used to render the check mark on an item while it's being selected using a swipe interaction. This property is ignored for a Windows 10 app.
public : Brush CheckSelectingBrush { get; set; }public Brush CheckSelectingBrush { get; set; }Public ReadWrite Property CheckSelectingBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter CheckSelectingBrush="themeResourceReference"/>
The brush used to render the check mark on an item while it's being selected using a swipe interaction.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
CheckSelectingBrushProperty CheckSelectingBrushProperty CheckSelectingBrushProperty CheckSelectingBrushProperty
Identifies the CheckSelectingBrush dependency property.
public : static DependencyProperty CheckSelectingBrushProperty { get; }public static DependencyProperty CheckSelectingBrushProperty { get; }Public Static ReadOnly Property CheckSelectingBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CheckSelectingBrush dependency property.
ContentMargin ContentMargin ContentMargin ContentMargin
Gets or sets an internal margin between presented content and its presenter.
public : Thickness ContentMargin { get; set; }public Thickness ContentMargin { get; set; }Public ReadWrite Property ContentMargin As Thickness// This API is not available in Javascript.
<listViewItemPresenter ContentMargin="uniform"/>
- or -
<listViewItemPresenter ContentMargin="left&right,top&bottom"/>
- or -
<listViewItemPresenter ContentMargin="left,top,right,bottom"/>
ContentMarginProperty ContentMarginProperty ContentMarginProperty ContentMarginProperty
Identifies the ContentMargin dependency property.
public : static DependencyProperty ContentMarginProperty { get; }public static DependencyProperty ContentMarginProperty { get; }Public Static ReadOnly Property ContentMarginProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ContentMargin dependency property.
DisabledOpacity DisabledOpacity DisabledOpacity DisabledOpacity
Gets or sets the opacity of an item that is disabled.
public : double DisabledOpacity { get; set; }public double DisabledOpacity { get; set; }Public ReadWrite Property DisabledOpacity As double// This API is not available in Javascript.
<listViewItemPresenterDisabledOpacity="themeResourceReference"/>
- Value
- double double double double
The opacity of an item that is disabled. The value should be between 0 and 1. 0 is no opacity (transparent), 1 is full opacity (renders normally). The effective default value at run-time comes from themes.
Remarks
Notes on XAML syntax
The first XAML usage shown is for referencing a theme resource. This is how values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that values can be shared by different templates.
DisabledOpacityProperty DisabledOpacityProperty DisabledOpacityProperty DisabledOpacityProperty
Identifies the DisabledOpacity dependency property.
public : static DependencyProperty DisabledOpacityProperty { get; }public static DependencyProperty DisabledOpacityProperty { get; }Public Static ReadOnly Property DisabledOpacityProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the DisabledOpacity dependency property.
DragBackground DragBackground DragBackground DragBackground
Gets or sets the brush used to render the background of an item that's being dragged.
public : Brush DragBackground { get; set; }public Brush DragBackground { get; set; }Public ReadWrite Property DragBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter DragBackground="themeResourceReference"/>
The brush used to render the background of an item that's being dragged.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
DragBackgroundProperty DragBackgroundProperty DragBackgroundProperty DragBackgroundProperty
Identifies the DragBackground dependency property.
public : static DependencyProperty DragBackgroundProperty { get; }public static DependencyProperty DragBackgroundProperty { get; }Public Static ReadOnly Property DragBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the DragBackground dependency property.
DragForeground DragForeground DragForeground DragForeground
Gets or sets the brush used to render the foreground of an item that's being dragged.
public : Brush DragForeground { get; set; }public Brush DragForeground { get; set; }Public ReadWrite Property DragForeground As Brush// This API is not available in Javascript.
<ListViewItemPresenter DragForeground="themeResourceReference"/>
The brush used to render the foreground of an item that's being dragged.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
DragForegroundProperty DragForegroundProperty DragForegroundProperty DragForegroundProperty
Identifies the DragForeground dependency property.
public : static DependencyProperty DragForegroundProperty { get; }public static DependencyProperty DragForegroundProperty { get; }Public Static ReadOnly Property DragForegroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the DragForeground dependency property.
DragOpacity DragOpacity DragOpacity DragOpacity
Gets or sets the opacity of an item that's being dragged.
public : double DragOpacity { get; set; }public double DragOpacity { get; set; }Public ReadWrite Property DragOpacity As double// This API is not available in Javascript.
<listViewItemPresenterDragOpacity="themeResourceReference"/>
- Value
- double double double double
The opacity of an item that's being dragged. The value should be between 0 and 1. 0 is no opacity (transparent), 1 is full opacity (renders normally). The effective default value at run-time comes from themes.
Remarks
Notes on XAML syntax
The first XAML usage shown is for referencing a theme resource. This is how values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that values can be shared by different templates.
DragOpacityProperty DragOpacityProperty DragOpacityProperty DragOpacityProperty
Identifies the DragOpacity dependency property.
public : static DependencyProperty DragOpacityProperty { get; }public static DependencyProperty DragOpacityProperty { get; }Public Static ReadOnly Property DragOpacityProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the DragOpacity dependency property.
FocusBorderBrush FocusBorderBrush FocusBorderBrush FocusBorderBrush
Gets or sets the brush used to render the border of an item that has focus. Also see FocusSecondaryBorderBrush.
public : Brush FocusBorderBrush { get; set; }public Brush FocusBorderBrush { get; set; }Public ReadWrite Property FocusBorderBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter FocusBorderBrush="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
FocusBorderBrushProperty FocusBorderBrushProperty FocusBorderBrushProperty FocusBorderBrushProperty
Identifies the FocusBorderBrush dependency property.
public : static DependencyProperty FocusBorderBrushProperty { get; }public static DependencyProperty FocusBorderBrushProperty { get; }Public Static ReadOnly Property FocusBorderBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the FocusBorderBrush dependency property.
FocusSecondaryBorderBrush FocusSecondaryBorderBrush FocusSecondaryBorderBrush FocusSecondaryBorderBrush
Gets or sets the brush used to render the second color of the border around an item that has focus. Focus is rendered as a composition of two brushes. This property is used together the FocusBorderBrush to specify these two brushes.
public : Brush FocusSecondaryBorderBrush { get; set; }public Brush FocusSecondaryBorderBrush { get; set; }Public ReadWrite Property FocusSecondaryBorderBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter FocusSecondaryBorderBrush="themeResourceReference"/>
The brush used to render the second color of the border around an item that has focus.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
FocusSecondaryBorderBrushProperty FocusSecondaryBorderBrushProperty FocusSecondaryBorderBrushProperty FocusSecondaryBorderBrushProperty
Identifies the FocusSecondaryBorderBrush dependency property.
public : static DependencyProperty FocusSecondaryBorderBrushProperty { get; }public static DependencyProperty FocusSecondaryBorderBrushProperty { get; }Public Static ReadOnly Property FocusSecondaryBorderBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the FocusSecondaryBorderBrush dependency property.
- See Also
ListViewItemPresenterHorizontalContentAlignment ListViewItemPresenterHorizontalContentAlignment ListViewItemPresenterHorizontalContentAlignment ListViewItemPresenterHorizontalContentAlignment
Note
ListViewItemPresenterHorizontalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.HorizontalContentAlignment.
Gets or sets the horizontal alignment of the content being presented.
public : HorizontalAlignment ListViewItemPresenterHorizontalContentAlignment { get; set; }public HorizontalAlignment ListViewItemPresenterHorizontalContentAlignment { get; set; }Public ReadWrite Property ListViewItemPresenterHorizontalContentAlignment As HorizontalAlignment// This API is not available in Javascript.
A value of the enumeration.
Remarks
Important
ListViewItemPresenterHorizontalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.HorizontalContentAlignment.
ListViewItemPresenterHorizontalContentAlignmentProperty ListViewItemPresenterHorizontalContentAlignmentProperty ListViewItemPresenterHorizontalContentAlignmentProperty ListViewItemPresenterHorizontalContentAlignmentProperty
Note
ListViewItemPresenterVerticalContentAlignmentProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignmentProperty.
Identifies the ListViewItemPresenterHorizontalContentAlignment dependency property.
public : static DependencyProperty ListViewItemPresenterHorizontalContentAlignmentProperty { get; }public static DependencyProperty ListViewItemPresenterHorizontalContentAlignmentProperty { get; }Public Static ReadOnly Property ListViewItemPresenterHorizontalContentAlignmentProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ListViewItemPresenterHorizontalContentAlignment dependency property.
- See Also
ListViewItemPresenterPadding ListViewItemPresenterPadding ListViewItemPresenterPadding ListViewItemPresenterPadding
Note
ListViewItemPresenterPadding may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.Padding.
Gets or sets the padding around the presenter.
public : Thickness ListViewItemPresenterPadding { get; set; }public Thickness ListViewItemPresenterPadding { get; set; }Public ReadWrite Property ListViewItemPresenterPadding As Thickness// This API is not available in Javascript.
Remarks
Important
ListViewItemPresenterPadding may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.Padding.
ListViewItemPresenterPaddingProperty ListViewItemPresenterPaddingProperty ListViewItemPresenterPaddingProperty ListViewItemPresenterPaddingProperty
Note
ListViewItemPresenterPaddingProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.PaddingProperty.
Identifies the ListViewItemPresenterPadding dependency property.
public : static DependencyProperty ListViewItemPresenterPaddingProperty { get; }public static DependencyProperty ListViewItemPresenterPaddingProperty { get; }Public Static ReadOnly Property ListViewItemPresenterPaddingProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ListViewItemPresenterPadding dependency property.
- See Also
ListViewItemPresenterVerticalContentAlignment ListViewItemPresenterVerticalContentAlignment ListViewItemPresenterVerticalContentAlignment ListViewItemPresenterVerticalContentAlignment
Note
ListViewItemPresenterVerticalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignment.
Gets or sets the vertical alignment of the content being presented.
public : VerticalAlignment ListViewItemPresenterVerticalContentAlignment { get; set; }public VerticalAlignment ListViewItemPresenterVerticalContentAlignment { get; set; }Public ReadWrite Property ListViewItemPresenterVerticalContentAlignment As VerticalAlignment// This API is not available in Javascript.
A value of the enumeration.
Remarks
Important
ListViewItemPresenterVerticalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignment.
ListViewItemPresenterVerticalContentAlignmentProperty ListViewItemPresenterVerticalContentAlignmentProperty ListViewItemPresenterVerticalContentAlignmentProperty ListViewItemPresenterVerticalContentAlignmentProperty
Note
ListViewItemPresenterVerticalContentAlignmentProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignmentProperty.
Identifies the ListViewItemPresenterVerticalContentAlignment dependency property.
public : static DependencyProperty ListViewItemPresenterVerticalContentAlignmentProperty { get; }public static DependencyProperty ListViewItemPresenterVerticalContentAlignmentProperty { get; }Public Static ReadOnly Property ListViewItemPresenterVerticalContentAlignmentProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ListViewItemPresenterVerticalContentAlignment dependency property.
Remarks
Important
ListViewItemPresenterVerticalContentAlignmentProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignmentProperty.
- See Also
PlaceholderBackground PlaceholderBackground PlaceholderBackground PlaceholderBackground
Gets or sets the brush used to render the placeholder background for an item.
public : Brush PlaceholderBackground { get; set; }public Brush PlaceholderBackground { get; set; }Public ReadWrite Property PlaceholderBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter PlaceholderBackground="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
PlaceholderBackgroundProperty PlaceholderBackgroundProperty PlaceholderBackgroundProperty PlaceholderBackgroundProperty
Identifies the PlaceholderBackground dependency property.
public : static DependencyProperty PlaceholderBackgroundProperty { get; }public static DependencyProperty PlaceholderBackgroundProperty { get; }Public Static ReadOnly Property PlaceholderBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the PlaceholderBackground dependency property.
PointerOverBackground PointerOverBackground PointerOverBackground PointerOverBackground
Gets or sets the brush used to render the background of an item that has the pointer over it.
public : Brush PointerOverBackground { get; set; }public Brush PointerOverBackground { get; set; }Public ReadWrite Property PointerOverBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter PointerOverBackground="themeResourceReference"/>
The brush used to render the background of an item that has the pointer over it.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
PointerOverBackgroundMargin PointerOverBackgroundMargin PointerOverBackgroundMargin PointerOverBackgroundMargin
Gets or sets the margin of the background displayed for pointer-over input actions in the ListView item cell, versus the cell. This property is ignored for a Windows 10 app.
public : Thickness PointerOverBackgroundMargin { get; set; }public Thickness PointerOverBackgroundMargin { get; set; }Public ReadWrite Property PointerOverBackgroundMargin As Thickness// This API is not available in Javascript.
<listViewItemPresenter PointerOverBackgroundMargin="uniform"/>
- or -
<listViewItemPresenter PointerOverBackgroundMargin="left&right,top&bottom"/>
- or -
<listViewItemPresenter PointerOverBackgroundMargin="left,top,right,bottom"/>
PointerOverBackgroundMarginProperty PointerOverBackgroundMarginProperty PointerOverBackgroundMarginProperty PointerOverBackgroundMarginProperty
Identifies the PointerOverBackgroundMargin dependency property.
public : static DependencyProperty PointerOverBackgroundMarginProperty { get; }public static DependencyProperty PointerOverBackgroundMarginProperty { get; }Public Static ReadOnly Property PointerOverBackgroundMarginProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the PointerOverBackgroundMargin dependency property.
PointerOverBackgroundProperty PointerOverBackgroundProperty PointerOverBackgroundProperty PointerOverBackgroundProperty
Identifies the PointerOverBackground dependency property.
public : static DependencyProperty PointerOverBackgroundProperty { get; }public static DependencyProperty PointerOverBackgroundProperty { get; }Public Static ReadOnly Property PointerOverBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the PointerOverBackground dependency property.
PointerOverForeground PointerOverForeground PointerOverForeground PointerOverForeground
Gets or sets the brush used to render the foreground when the pointer is over the item.
public : Brush PointerOverForeground { get; set; }public Brush PointerOverForeground { get; set; }Public ReadWrite Property PointerOverForeground As Brush// This API is not available in Javascript.
<ListViewItemPresenter PointerOverForeground="themeResourceReference"/>
The brush used to render the foreground when the pointer is over the item.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
PointerOverForegroundProperty PointerOverForegroundProperty PointerOverForegroundProperty PointerOverForegroundProperty
Identifies the PointerOverForeground dependency property.
public : static DependencyProperty PointerOverForegroundProperty { get; }public static DependencyProperty PointerOverForegroundProperty { get; }Public Static ReadOnly Property PointerOverForegroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the PointerOverForeground dependency property.
- See Also
PressedBackground PressedBackground PressedBackground PressedBackground
In a ListView, gets or sets the brush used to render the background of an unselected item while the user is pressing it. In a GridView, the item's border is set rather than the background.
public : Brush PressedBackground { get; set; }public Brush PressedBackground { get; set; }Public ReadWrite Property PressedBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter PressedBackground="themeResourceReference"/>
The brush used to render an unselected item's background (ListView ) or border (GridView ) while pressed.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
PressedBackgroundProperty PressedBackgroundProperty PressedBackgroundProperty PressedBackgroundProperty
Identifies the PressedBackground dependency property.
public : static DependencyProperty PressedBackgroundProperty { get; }public static DependencyProperty PressedBackgroundProperty { get; }Public Static ReadOnly Property PressedBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the PressedBackground dependency property.
- See Also
ReorderHintOffset ReorderHintOffset ReorderHintOffset ReorderHintOffset
Gets or sets the amount that the reorder hint is offset. This property is ignored for a Windows 10 app.
public : double ReorderHintOffset { get; set; }public double ReorderHintOffset { get; set; }Public ReadWrite Property ReorderHintOffset As double// This API is not available in Javascript.
<listViewItemPresenterReorderHintOffset="themeResourceReference"/>
- Value
- double double double double
The amount that the reorder hint is offset, in pixels. The effective default value at run-time comes from themes.
Remarks
Notes on XAML syntax
The first XAML usage shown is for referencing a theme resource. This is how values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that values can be shared by different templates.
ReorderHintOffsetProperty ReorderHintOffsetProperty ReorderHintOffsetProperty ReorderHintOffsetProperty
Identifies the ReorderHintOffset dependency property.
public : static DependencyProperty ReorderHintOffsetProperty { get; }public static DependencyProperty ReorderHintOffsetProperty { get; }Public Static ReadOnly Property ReorderHintOffsetProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ReorderHintOffset dependency property.
RevealBackground RevealBackground RevealBackground RevealBackground
Prerelease. Gets or sets the brush used to render the background of the reveal effect.
public : Brush RevealBackground { get; set; }public Brush RevealBackground { get; set; }Public ReadWrite Property RevealBackground As Brush// This API is not available in Javascript.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
For more info, see Reveal.
RevealBackgroundProperty RevealBackgroundProperty RevealBackgroundProperty RevealBackgroundProperty
Prerelease. Identifies the RevealBackground dependency property.
public : static DependencyProperty RevealBackgroundProperty { get; }public static DependencyProperty RevealBackgroundProperty { get; }Public Static ReadOnly Property RevealBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RevealBackground dependency property.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
RevealBackgroundShowsAboveContent RevealBackgroundShowsAboveContent RevealBackgroundShowsAboveContent RevealBackgroundShowsAboveContent
Prerelease. Gets or sets a value that indicates whether the reveal backgound is shown on top of the content.
public : PlatForm::Boolean RevealBackgroundShowsAboveContent { get; set; }public bool RevealBackgroundShowsAboveContent { get; set; }Public ReadWrite Property RevealBackgroundShowsAboveContent As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the reveal backgound is shown on top of the content; otherwise, false.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
For more info, see Reveal.
RevealBackgroundShowsAboveContentProperty RevealBackgroundShowsAboveContentProperty RevealBackgroundShowsAboveContentProperty RevealBackgroundShowsAboveContentProperty
Prerelease. Identifies the RevealBackgroundShowsAboveContent dependency property.
public : static DependencyProperty RevealBackgroundShowsAboveContentProperty { get; }public static DependencyProperty RevealBackgroundShowsAboveContentProperty { get; }Public Static ReadOnly Property RevealBackgroundShowsAboveContentProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RevealBackgroundShowsAboveContent dependency property.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
RevealBorderBrush RevealBorderBrush RevealBorderBrush RevealBorderBrush
Prerelease. Gets or sets the brush used to render the border of the reveal effect.
public : Brush RevealBorderBrush { get; set; }public Brush RevealBorderBrush { get; set; }Public ReadWrite Property RevealBorderBrush As Brush// This API is not available in Javascript.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
For more info, see Reveal.
RevealBorderBrushProperty RevealBorderBrushProperty RevealBorderBrushProperty RevealBorderBrushProperty
Prerelease. Identifies the RevealBorderBrush dependency property.
public : static DependencyProperty RevealBorderBrushProperty { get; }public static DependencyProperty RevealBorderBrushProperty { get; }Public Static ReadOnly Property RevealBorderBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RevealBorderBrush dependency property.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
RevealBorderThickness RevealBorderThickness RevealBorderThickness RevealBorderThickness
Prerelease. Gets or sets the thickness of the border of the reveal effect.
public : Thickness RevealBorderThickness { get; set; }public Thickness RevealBorderThickness { get; set; }Public ReadWrite Property RevealBorderThickness As Thickness// This API is not available in Javascript.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
For more info, see Reveal.
RevealBorderThicknessProperty RevealBorderThicknessProperty RevealBorderThicknessProperty RevealBorderThicknessProperty
Prerelease. Identifies the RevealBorderThickness dependency property.
public : static DependencyProperty RevealBorderThicknessProperty { get; }public static DependencyProperty RevealBorderThicknessProperty { get; }Public Static ReadOnly Property RevealBorderThicknessProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RevealBorderThickness dependency property.
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
SelectedBackground SelectedBackground SelectedBackground SelectedBackground
Gets or sets the brush used to render the background of an item that's selected.
public : Brush SelectedBackground { get; set; }public Brush SelectedBackground { get; set; }Public ReadWrite Property SelectedBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter SelectedBackground="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom GridViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
SelectedBackgroundProperty SelectedBackgroundProperty SelectedBackgroundProperty SelectedBackgroundProperty
Identifies the SelectedBackground dependency property.
public : static DependencyProperty SelectedBackgroundProperty { get; }public static DependencyProperty SelectedBackgroundProperty { get; }Public Static ReadOnly Property SelectedBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectedBackground dependency property.
SelectedBorderThickness SelectedBorderThickness SelectedBorderThickness SelectedBorderThickness
Gets or sets the thickness of the border around an item that's selected. This property is ignored for a Windows 10 app.
public : Thickness SelectedBorderThickness { get; set; }public Thickness SelectedBorderThickness { get; set; }Public ReadWrite Property SelectedBorderThickness As Thickness// This API is not available in Javascript.
<listViewItemPresenter SelectedBorderThickness="uniform"/>
- or -
<listViewItemPresenter SelectedBorderThickness="left&right,top&bottom"/>
- or -
<listViewItemPresenter SelectedBorderThickness="left,top,right,bottom"/>
SelectedBorderThicknessProperty SelectedBorderThicknessProperty SelectedBorderThicknessProperty SelectedBorderThicknessProperty
Identifies the SelectedBorderThickness dependency property.
public : static DependencyProperty SelectedBorderThicknessProperty { get; }public static DependencyProperty SelectedBorderThicknessProperty { get; }Public Static ReadOnly Property SelectedBorderThicknessProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectedBorderThickness dependency property.
SelectedForeground SelectedForeground SelectedForeground SelectedForeground
Gets or sets the brush used to render the foreground of an item that's selected.
public : Brush SelectedForeground { get; set; }public Brush SelectedForeground { get; set; }Public ReadWrite Property SelectedForeground As Brush// This API is not available in Javascript.
<ListViewItemPresenter SelectedForeground="themeResourceReference"/>
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter , substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
SelectedForegroundProperty SelectedForegroundProperty SelectedForegroundProperty SelectedForegroundProperty
Identifies the SelectedForeground dependency property.
public : static DependencyProperty SelectedForegroundProperty { get; }public static DependencyProperty SelectedForegroundProperty { get; }Public Static ReadOnly Property SelectedForegroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectedForeground dependency property.
SelectedPointerOverBackground SelectedPointerOverBackground SelectedPointerOverBackground SelectedPointerOverBackground
Gets or sets the brush used to render the background of an item that's selected and has the pointer over it.
public : Brush SelectedPointerOverBackground { get; set; }public Brush SelectedPointerOverBackground { get; set; }Public ReadWrite Property SelectedPointerOverBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter SelectedPointerOverBackground="themeResourceReference"/>
The brush used to render the background of an item that's selected and has the pointer over it.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
SelectedPointerOverBackgroundProperty SelectedPointerOverBackgroundProperty SelectedPointerOverBackgroundProperty SelectedPointerOverBackgroundProperty
Identifies the SelectedPointerOverBackground dependency property.
public : static DependencyProperty SelectedPointerOverBackgroundProperty { get; }public static DependencyProperty SelectedPointerOverBackgroundProperty { get; }Public Static ReadOnly Property SelectedPointerOverBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectedPointerOverBackground dependency property.
SelectedPointerOverBorderBrush SelectedPointerOverBorderBrush SelectedPointerOverBorderBrush SelectedPointerOverBorderBrush
Gets or sets the brush used to render the border of an item that's selected and has the pointer over it. This property is ignored for a Windows 10 app.
public : Brush SelectedPointerOverBorderBrush { get; set; }public Brush SelectedPointerOverBorderBrush { get; set; }Public ReadWrite Property SelectedPointerOverBorderBrush As Brush// This API is not available in Javascript.
<ListViewItemPresenter SelectedPointerOverBorderBrush="themeResourceReference"/>
The brush used to render the border of an item that's selected and has the pointer over it.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
SelectedPointerOverBorderBrushProperty SelectedPointerOverBorderBrushProperty SelectedPointerOverBorderBrushProperty SelectedPointerOverBorderBrushProperty
Identifies the SelectedPointerOverBorderBrush dependency property.
public : static DependencyProperty SelectedPointerOverBorderBrushProperty { get; }public static DependencyProperty SelectedPointerOverBorderBrushProperty { get; }Public Static ReadOnly Property SelectedPointerOverBorderBrushProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectedPointerOverBorderBrush dependency property.
SelectedPressedBackground SelectedPressedBackground SelectedPressedBackground SelectedPressedBackground
In a ListView, gets or sets the brush used to render the background of a selected item while the user is pressing it. In a GridView, the item's border is set rather than the background.
public : Brush SelectedPressedBackground { get; set; }public Brush SelectedPressedBackground { get; set; }Public ReadWrite Property SelectedPressedBackground As Brush// This API is not available in Javascript.
<ListViewItemPresenter SelectedPressedBackground="themeResourceReference"/>
The brush used to render a selected item's background (ListView ) or border (GridView ) while pressed.
Remarks
Notes on XAML syntax
The XAML usage shown is for referencing a theme resource. This is how Brush values for a presenter are typically defined, so that the values can be changed when the theme changes, and potentially so that Brush values can be shared by different templates. It's possible but less common to use a XAML syntax that refers to a Brush value directly. For examples of direct XAML usages for a Brush, see the XAML section in the Brush class topic.
If you're setting this property as an attribute on a custom ListViewItemPresenter, substitute the prefixed name of your custom class in the XAML usage shown.
- See Also
SelectedPressedBackgroundProperty SelectedPressedBackgroundProperty SelectedPressedBackgroundProperty SelectedPressedBackgroundProperty
Identifies the SelectedPressedBackground dependency property.
public : static DependencyProperty SelectedPressedBackgroundProperty { get; }public static DependencyProperty SelectedPressedBackgroundProperty { get; }Public Static ReadOnly Property SelectedPressedBackgroundProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectedPressedBackground dependency property.
- See Also
SelectionCheckMarkVisualEnabled SelectionCheckMarkVisualEnabled SelectionCheckMarkVisualEnabled SelectionCheckMarkVisualEnabled
Gets or sets a value that indicates whether the check mark is shown when the item is selected.
public : PlatForm::Boolean SelectionCheckMarkVisualEnabled { get; set; }public bool SelectionCheckMarkVisualEnabled { get; set; }Public ReadWrite Property SelectionCheckMarkVisualEnabled As bool// This API is not available in Javascript.
<listViewItemPresenter SelectionCheckMarkVisualEnabled="bool"/>
- Value
- PlatForm::Boolean bool bool bool
true to show the selection check mark; otherwise, false. The default is true.
SelectionCheckMarkVisualEnabledProperty SelectionCheckMarkVisualEnabledProperty SelectionCheckMarkVisualEnabledProperty SelectionCheckMarkVisualEnabledProperty
Identifies the SelectionCheckMarkVisualEnabled dependency property.
public : static DependencyProperty SelectionCheckMarkVisualEnabledProperty { get; }public static DependencyProperty SelectionCheckMarkVisualEnabledProperty { get; }Public Static ReadOnly Property SelectionCheckMarkVisualEnabledProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the SelectionCheckMarkVisualEnabled dependency property.