GridViewItemPresenter GridViewItemPresenter GridViewItemPresenter GridViewItemPresenter Class

Definition

Represents the visual elements of a GridViewItem. 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 GridViewItemPresenter : ContentPresenter, IGridViewItemPresenterpublic class GridViewItemPresenter : ContentPresenter, IGridViewItemPresenterPublic Class GridViewItemPresenter Inherits ContentPresenter Implements IGridViewItemPresenter// This API is not available in Javascript.
<GridViewItemPresenter .../>
Inheritance
Attributes
Windows 10 requirements
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 GridView control (or derived type) and its items. For more info, see GridView.

For a custom GridViewItemPresenter, 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

GridViewItemPresenter() GridViewItemPresenter() GridViewItemPresenter() GridViewItemPresenter()

Initializes a new instance of the GridViewItemPresenter class.

public : GridViewItemPresenter()public GridViewItemPresenter()Public Sub New()// This API is not available in Javascript.

Properties

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.
<GridViewItemPresenter CheckBrush="themeResourceReference"/>

Value
Brush Brush Brush Brush

The brush used to render the check mark on a selected 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 GridViewItemPresenter, 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.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the CheckBrush dependency property.

CheckHintBrush CheckHintBrush CheckHintBrush CheckHintBrush

Gets or sets the brush used to render the check mark hint.

public : Brush CheckHintBrush { get; set; }public Brush CheckHintBrush { get; set; }Public ReadWrite Property CheckHintBrush As Brush// This API is not available in Javascript.
<GridViewItemPresenter CheckHintBrush="themeResourceReference"/>

Value
Brush Brush Brush Brush

The brush used to render the check mark hint.

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

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.

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.

public : Brush CheckSelectingBrush { get; set; }public Brush CheckSelectingBrush { get; set; }Public ReadWrite Property CheckSelectingBrush As Brush// This API is not available in Javascript.
<GridViewItemPresenter CheckSelectingBrush="themeResourceReference"/>

Value
Brush Brush Brush Brush

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 GridViewItemPresenter, 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.

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.
<gridViewItemPresenter ContentMargin="uniform"/>
- or -
<gridViewItemPresenter ContentMargin="left&right,top&bottom"/>
- or -
<gridViewItemPresenter 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.

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.
<gridViewItemPresenterDisabledOpacity="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.

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.
<GridViewItemPresenter DragBackground="themeResourceReference"/>

Value
Brush Brush Brush Brush

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 GridViewItemPresenter, 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.

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.
<GridViewItemPresenter DragForeground="themeResourceReference"/>

Value
Brush Brush Brush Brush

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 GridViewItemPresenter, 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.

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.
<gridViewItemPresenterDragOpacity="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.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

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.

public : Brush FocusBorderBrush { get; set; }public Brush FocusBorderBrush { get; set; }Public ReadWrite Property FocusBorderBrush As Brush// This API is not available in Javascript.
<GridViewItemPresenter FocusBorderBrush="themeResourceReference"/>

Value
Brush Brush Brush Brush

The brush used to render the border of 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 GridViewItemPresenter, 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.

GridViewItemPresenterHorizontalContentAlignment GridViewItemPresenterHorizontalContentAlignment GridViewItemPresenterHorizontalContentAlignment GridViewItemPresenterHorizontalContentAlignment

Note

GridViewItemPresenterHorizontalContentAlignment 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 GridViewItemPresenterHorizontalContentAlignment { get; set; }public HorizontalAlignment GridViewItemPresenterHorizontalContentAlignment { get; set; }Public ReadWrite Property GridViewItemPresenterHorizontalContentAlignment As HorizontalAlignment// This API is not available in Javascript.

Remarks

Important

GridViewItemPresenterHorizontalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.HorizontalContentAlignment.

GridViewItemPresenterHorizontalContentAlignmentProperty GridViewItemPresenterHorizontalContentAlignmentProperty GridViewItemPresenterHorizontalContentAlignmentProperty GridViewItemPresenterHorizontalContentAlignmentProperty

Note

GridViewItemPresenterHorizontalContentAlignmentProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.HorizontalContentAlignmentProperty.

Identifies the GridViewItemPresenterHorizontalContentAlignment dependency property.

public : static DependencyProperty GridViewItemPresenterHorizontalContentAlignmentProperty { get; }public static DependencyProperty GridViewItemPresenterHorizontalContentAlignmentProperty { get; }Public Static ReadOnly Property GridViewItemPresenterHorizontalContentAlignmentProperty As DependencyProperty// This API is not available in Javascript.
See Also

GridViewItemPresenterPadding GridViewItemPresenterPadding GridViewItemPresenterPadding GridViewItemPresenterPadding

Note

GridViewItemPresenterPadding may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.Padding.

Gets or sets the padding between the presenter and the GridView.

public : Thickness GridViewItemPresenterPadding { get; set; }public Thickness GridViewItemPresenterPadding { get; set; }Public ReadWrite Property GridViewItemPresenterPadding As Thickness// This API is not available in Javascript.

Remarks

Important

GridViewItemPresenterPadding may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.Padding.

GridViewItemPresenterPaddingProperty GridViewItemPresenterPaddingProperty GridViewItemPresenterPaddingProperty GridViewItemPresenterPaddingProperty

Note

GridViewItemPresenterPaddingProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.PaddingProperty.

Identifies the GridViewItemPresenterPadding dependency property.

public : static DependencyProperty GridViewItemPresenterPaddingProperty { get; }public static DependencyProperty GridViewItemPresenterPaddingProperty { get; }Public Static ReadOnly Property GridViewItemPresenterPaddingProperty As DependencyProperty// This API is not available in Javascript.
See Also

GridViewItemPresenterVerticalContentAlignment GridViewItemPresenterVerticalContentAlignment GridViewItemPresenterVerticalContentAlignment GridViewItemPresenterVerticalContentAlignment

Note

GridViewItemPresenterVerticalContentAlignment 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 GridViewItemPresenterVerticalContentAlignment { get; set; }public VerticalAlignment GridViewItemPresenterVerticalContentAlignment { get; set; }Public ReadWrite Property GridViewItemPresenterVerticalContentAlignment As VerticalAlignment// This API is not available in Javascript.

Remarks

Important

GridViewItemPresenterVerticalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignment.

GridViewItemPresenterVerticalContentAlignmentProperty GridViewItemPresenterVerticalContentAlignmentProperty GridViewItemPresenterVerticalContentAlignmentProperty GridViewItemPresenterVerticalContentAlignmentProperty

Note

GridViewItemPresenterVerticalContentAlignmentProperty may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignmentProperty.

Identifies the GridViewItemPresenterVerticalContentAlignment dependency property.

public : static DependencyProperty GridViewItemPresenterVerticalContentAlignmentProperty { get; }public static DependencyProperty GridViewItemPresenterVerticalContentAlignmentProperty { get; }Public Static ReadOnly Property GridViewItemPresenterVerticalContentAlignmentProperty As DependencyProperty// This API is not available in Javascript.

Remarks

Important

GridViewItemPresenterVerticalContentAlignmentProperty 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.
<GridViewItemPresenter PlaceholderBackground="themeResourceReference"/>

Value
Brush Brush Brush Brush

The brush used to render the placeholder background for an 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 GridViewItemPresenter, 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.

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.
<GridViewItemPresenter PointerOverBackground="themeResourceReference"/>

Value
Brush Brush Brush Brush

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 GridViewItemPresenter, 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 GridView item cell, versus the cell.

public : Thickness PointerOverBackgroundMargin { get; set; }public Thickness PointerOverBackgroundMargin { get; set; }Public ReadWrite Property PointerOverBackgroundMargin As Thickness// This API is not available in Javascript.
<gridViewItemPresenter PointerOverBackgroundMargin="uniform"/>
- or -
<gridViewItemPresenter PointerOverBackgroundMargin="left&right,top&bottom"/>
- or -
<gridViewItemPresenter 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.

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.

ReorderHintOffset ReorderHintOffset ReorderHintOffset ReorderHintOffset

Gets or sets the amount that the reorder hint is offset.

public : double ReorderHintOffset { get; set; }public double ReorderHintOffset { get; set; }Public ReadWrite Property ReorderHintOffset As double// This API is not available in Javascript.
<gridViewItemPresenterReorderHintOffset="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.

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.
<GridViewItemPresenter SelectedBackground="themeResourceReference"/>

Value
Brush Brush Brush Brush

The brush used to render the background of an item that's selected.

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.

SelectedBorderThickness SelectedBorderThickness SelectedBorderThickness SelectedBorderThickness

Gets or sets the thickness of the border around an item that's selected.

public : Thickness SelectedBorderThickness { get; set; }public Thickness SelectedBorderThickness { get; set; }Public ReadWrite Property SelectedBorderThickness As Thickness// This API is not available in Javascript.
<gridViewItemPresenter SelectedBorderThickness="uniform"/>
- or -
<gridViewItemPresenter SelectedBorderThickness="left&right,top&bottom"/>
- or -
<gridViewItemPresenter SelectedBorderThickness="left,top,right,bottom"/>
Value
Thickness Thickness Thickness Thickness

The thickness of the border around an item that's selected, as a Thickness value.

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.

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.
<GridViewItemPresenter SelectedForeground="themeResourceReference"/>

Value
Brush Brush Brush Brush

The brush used to render the foreground of an item that's selected.

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

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.

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.
<GridViewItemPresenter SelectedPointerOverBackground="themeResourceReference"/>

Value
Brush Brush Brush Brush

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 GridViewItemPresenter, 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.

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.

public : Brush SelectedPointerOverBorderBrush { get; set; }public Brush SelectedPointerOverBorderBrush { get; set; }Public ReadWrite Property SelectedPointerOverBorderBrush As Brush// This API is not available in Javascript.
<GridViewItemPresenter SelectedPointerOverBorderBrush="themeResourceReference"/>

Value
Brush Brush Brush Brush

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 GridViewItemPresenter, 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.

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.
<gridViewItemPresenter 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.

See Also