ListViewExtensions Class

Definition

Provides the Command attached dependency property for the Windows.UI.Xaml.Controls.ListViewBase

public static class ListViewExtensions
type ListViewExtensions = class
Public Module ListViewExtensions
Inheritance
ListViewExtensions

Fields

AlternateColorProperty

Attached Windows.UI.Xaml.DependencyProperty for binding a Windows.UI.Xaml.Media.Brush as an alternate background color to a Windows.UI.Xaml.Controls.ListViewBase

AlternateItemTemplateProperty

Attached Windows.UI.Xaml.DependencyProperty for binding a Windows.UI.Xaml.DataTemplate as an alternate template to a Windows.UI.Xaml.Controls.ListViewBase

CommandProperty

Attached Windows.UI.Xaml.DependencyProperty for binding an ICommand to handle ListViewBase Item interaction by means of Windows.UI.Xaml.Controls.ListViewBase ItemClick event. ListViewBase IsItemClickEnabled must be set to true.

StretchItemContainerDirectionProperty

Attached Windows.UI.Xaml.DependencyProperty for setting the container content stretch direction on the Windows.UI.Xaml.Controls.ListViewBase

Attached Properties

AlternateColor
AlternateItemTemplate
Command
StretchItemContainerDirection

Methods

DeselectAll(ListViewBase)

Deselects all items in list.

DeselectItem<T>(ListViewBase, T)

Deselects the provided item.

GetAlternateColor(ListViewBase)

Gets the alternate Windows.UI.Xaml.Media.Brush associated with the specified Windows.UI.Xaml.Controls.ListViewBase

GetAlternateItemTemplate(ListViewBase)

Gets the Windows.UI.Xaml.DataTemplate associated with the specified Windows.UI.Xaml.Controls.ListViewBase

GetCommand(ListViewBase)

Gets the ICommand associated with the specified Windows.UI.Xaml.Controls.ListViewBase

GetStretchItemContainerDirection(ListViewBase)

Gets the stretch StretchDirection associated with the specified Windows.UI.Xaml.Controls.ListViewBase

SelectAllSafe(ListViewBase)

Selects all items in the list (or first one), if possible.

SetAlternateColor(ListViewBase, Brush)

Sets the alternate Windows.UI.Xaml.Media.Brush associated with the specified Windows.UI.Xaml.DependencyObject

SetAlternateItemTemplate(ListViewBase, DataTemplate)

Sets the Windows.UI.Xaml.DataTemplate associated with the specified Windows.UI.Xaml.Controls.ListViewBase

SetCommand(ListViewBase, ICommand)

Sets the ICommand associated with the specified Windows.UI.Xaml.Controls.ListViewBase

SetStretchItemContainerDirection(ListViewBase, StretchDirection)

Sets the stretch StretchDirection associated with the specified Windows.UI.Xaml.Controls.ListViewBase

Applies to