Grid​View​Item​Presenter Grid​View​Item​Presenter Grid​View​Item​Presenter 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
<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()

Initializes a new instance of the GridViewItemPresenter class.

public : GridViewItemPresenter()public GridViewItemPresenter()Public Sub New()
Attributes

Properties

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

Value
Brush Brush Brush

The brush used to render the check mark on a selected item.

Attributes

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

Identifies the CheckBrush dependency property.

public : static DependencyProperty CheckBrushProperty { get; }public static DependencyProperty CheckBrushProperty { get; }Public Static ReadOnly Property CheckBrushProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the CheckBrush dependency property.

Attributes

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

Value
Brush Brush Brush

The brush used to render the check mark hint.

Attributes

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

Identifies the CheckHintBrush dependency property.

public : static DependencyProperty CheckHintBrushProperty { get; }public static DependencyProperty CheckHintBrushProperty { get; }Public Static ReadOnly Property CheckHintBrushProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the CheckHintBrush dependency property.

Attributes

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

Value
Brush Brush Brush

The brush used to render the check mark on an item while it's being selected using a swipe interaction.

Attributes

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

Identifies the CheckSelectingBrush dependency property.

public : static DependencyProperty CheckSelectingBrushProperty { get; }public static DependencyProperty CheckSelectingBrushProperty { get; }Public Static ReadOnly Property CheckSelectingBrushProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the CheckSelectingBrush dependency property.

Attributes

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

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
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the ContentMargin dependency property.

Attributes

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
<gridViewItemPresenterDisabledOpacity="themeResourceReference"/>

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

Attributes

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

Identifies the DisabledOpacity dependency property.

public : static DependencyProperty DisabledOpacityProperty { get; }public static DependencyProperty DisabledOpacityProperty { get; }Public Static ReadOnly Property DisabledOpacityProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the DisabledOpacity dependency property.

Attributes

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

Value
Brush Brush Brush

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

Attributes

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

Identifies the DragBackground dependency property.

public : static DependencyProperty DragBackgroundProperty { get; }public static DependencyProperty DragBackgroundProperty { get; }Public Static ReadOnly Property DragBackgroundProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the DragBackground dependency property.

Attributes

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

Value
Brush Brush Brush

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

Attributes

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

Identifies the DragForeground dependency property.

public : static DependencyProperty DragForegroundProperty { get; }public static DependencyProperty DragForegroundProperty { get; }Public Static ReadOnly Property DragForegroundProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the DragForeground dependency property.

Attributes

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
<gridViewItemPresenterDragOpacity="themeResourceReference"/>

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

Attributes

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

Identifies the DragOpacity dependency property.

public : static DependencyProperty DragOpacityProperty { get; }public static DependencyProperty DragOpacityProperty { get; }Public Static ReadOnly Property DragOpacityProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the DragOpacity dependency property.

Attributes

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

Value
Brush Brush Brush

The brush used to render the border of an item that has focus.

Attributes

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

Identifies the FocusBorderBrush dependency property.

public : static DependencyProperty FocusBorderBrushProperty { get; }public static DependencyProperty FocusBorderBrushProperty { get; }Public Static ReadOnly Property FocusBorderBrushProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the FocusBorderBrush dependency property.

Attributes

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
Value
HorizontalAlignment HorizontalAlignment HorizontalAlignment

A value of the enumeration.

Attributes

Remarks

Important

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

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
Attributes
See Also

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
Attributes

Remarks

Important

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

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
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the GridViewItemPresenterPadding dependency property.

Attributes
See Also

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
Value
VerticalAlignment VerticalAlignment VerticalAlignment

A value of the enumeration.

Attributes

Remarks

Important

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

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
Attributes

Remarks

Important

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

See Also

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

Value
Brush Brush Brush

The brush used to render the placeholder background for an item.

Attributes

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

Identifies the PlaceholderBackground dependency property.

public : static DependencyProperty PlaceholderBackgroundProperty { get; }public static DependencyProperty PlaceholderBackgroundProperty { get; }Public Static ReadOnly Property PlaceholderBackgroundProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the PlaceholderBackground dependency property.

Attributes

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

Value
Brush Brush Brush

The brush used to render the background of an item that has the pointer over it.

Attributes

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

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

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
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the PointerOverBackgroundMargin dependency property.

Attributes

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
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the PointerOverBackground dependency property.

Attributes

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
<gridViewItemPresenterReorderHintOffset="themeResourceReference"/>

Value
double double double

The amount that the reorder hint is offset, in pixels. The effective default value at run-time comes from themes.

Attributes

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

Identifies the ReorderHintOffset dependency property.

public : static DependencyProperty ReorderHintOffsetProperty { get; }public static DependencyProperty ReorderHintOffsetProperty { get; }Public Static ReadOnly Property ReorderHintOffsetProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the ReorderHintOffset dependency property.

Attributes

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

Value
Brush Brush Brush

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

Attributes

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

Identifies the SelectedBackground dependency property.

public : static DependencyProperty SelectedBackgroundProperty { get; }public static DependencyProperty SelectedBackgroundProperty { get; }Public Static ReadOnly Property SelectedBackgroundProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the SelectedBackground dependency property.

Attributes

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

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

Attributes

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
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the SelectedBorderThickness dependency property.

Attributes

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

Value
Brush Brush Brush

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

Attributes

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

Identifies the SelectedForeground dependency property.

public : static DependencyProperty SelectedForegroundProperty { get; }public static DependencyProperty SelectedForegroundProperty { get; }Public Static ReadOnly Property SelectedForegroundProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the SelectedForeground dependency property.

Attributes

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

Value
Brush Brush Brush

The brush used to render the background of an item that's selected and has the pointer over it.

Attributes

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

Identifies the SelectedPointerOverBackground dependency property.

public : static DependencyProperty SelectedPointerOverBackgroundProperty { get; }public static DependencyProperty SelectedPointerOverBackgroundProperty { get; }Public Static ReadOnly Property SelectedPointerOverBackgroundProperty As DependencyProperty
Attributes

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

Value
Brush Brush Brush

The brush used to render the border of an item that's selected and has the pointer over it.

Attributes

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

Identifies the SelectedPointerOverBorderBrush dependency property.

public : static DependencyProperty SelectedPointerOverBorderBrushProperty { get; }public static DependencyProperty SelectedPointerOverBorderBrushProperty { get; }Public Static ReadOnly Property SelectedPointerOverBorderBrushProperty As DependencyProperty
Attributes

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
<gridViewItemPresenter SelectionCheckMarkVisualEnabled="bool"/>
Value
PlatForm::Boolean bool bool

true to show the selection check mark; otherwise, false. The default is true.

Attributes

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
Attributes

See Also