C# Класс WinRTXamlToolkit.Controls.Extensions.ListViewExtensions

Extension methods and attached properties for the ListView class. source http://winrtxamltoolkit.codeplex.com/
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BindableSelectionHandlerProperty Windows.UI.Xaml.DependencyProperty
BindableSelectionProperty Windows.UI.Xaml.DependencyProperty
ItemToBringIntoViewProperty Windows.UI.Xaml.DependencyProperty

Открытые методы

Метод Описание
GetBindableSelection ( DependencyObject d ) : ObservableCollection

Gets the BindableSelection property. This dependency property indicates the list of selected items that is synchronized with the items selected in the ListView.

GetBindableSelectionHandler ( DependencyObject d ) : ListViewBindableSelectionHandler

Gets the BindableSelectionHandler property. This dependency property indicates BindableSelectionHandler for a ListView - used to manage synchronization of BindableSelection and SelectedItems.

GetItemToBringIntoView ( DependencyObject d ) : object

Gets the ItemToBringIntoView property. This dependency property indicates the item that should be brought into view.

ScrollToBottom ( this listView ) : void

Scrolls a vertical ListView to the bottom.

SetBindableSelection ( DependencyObject d, ObservableCollection value ) : void

Sets the BindableSelection property. This dependency property indicates the list of selected items that is synchronized with the items selected in the ListView.

SetBindableSelectionHandler ( DependencyObject d, ListViewBindableSelectionHandler value ) : void

Sets the BindableSelectionHandler property. This dependency property indicates BindableSelectionHandler for a ListView - used to manage synchronization of BindableSelection and SelectedItems.

SetItemToBringIntoView ( DependencyObject d, object value ) : void

Sets the ItemToBringIntoView property. This dependency property indicates the item that should be brought into view when first set.

Приватные методы

Метод Описание
OnBindableSelectionChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BindableSelection property.

OnItemToBringIntoViewChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemToBringIntoView property.

Описание методов

GetBindableSelection() публичный статический Метод

Gets the BindableSelection property. This dependency property indicates the list of selected items that is synchronized with the items selected in the ListView.
public static GetBindableSelection ( DependencyObject d ) : ObservableCollection
d Windows.UI.Xaml.DependencyObject
Результат ObservableCollection

GetBindableSelectionHandler() публичный статический Метод

Gets the BindableSelectionHandler property. This dependency property indicates BindableSelectionHandler for a ListView - used to manage synchronization of BindableSelection and SelectedItems.
public static GetBindableSelectionHandler ( DependencyObject d ) : ListViewBindableSelectionHandler
d Windows.UI.Xaml.DependencyObject
Результат ListViewBindableSelectionHandler

GetItemToBringIntoView() публичный статический Метод

Gets the ItemToBringIntoView property. This dependency property indicates the item that should be brought into view.
public static GetItemToBringIntoView ( DependencyObject d ) : object
d Windows.UI.Xaml.DependencyObject
Результат object

ScrollToBottom() публичный статический Метод

Scrolls a vertical ListView to the bottom.
public static ScrollToBottom ( this listView ) : void
listView this
Результат void

SetBindableSelection() публичный статический Метод

Sets the BindableSelection property. This dependency property indicates the list of selected items that is synchronized with the items selected in the ListView.
public static SetBindableSelection ( DependencyObject d, ObservableCollection value ) : void
d Windows.UI.Xaml.DependencyObject
value ObservableCollection
Результат void

SetBindableSelectionHandler() публичный статический Метод

Sets the BindableSelectionHandler property. This dependency property indicates BindableSelectionHandler for a ListView - used to manage synchronization of BindableSelection and SelectedItems.
public static SetBindableSelectionHandler ( DependencyObject d, ListViewBindableSelectionHandler value ) : void
d Windows.UI.Xaml.DependencyObject
value ListViewBindableSelectionHandler
Результат void

SetItemToBringIntoView() публичный статический Метод

Sets the ItemToBringIntoView property. This dependency property indicates the item that should be brought into view when first set.
public static SetItemToBringIntoView ( DependencyObject d, object value ) : void
d Windows.UI.Xaml.DependencyObject
value object
Результат void

Описание свойств

BindableSelectionHandlerProperty публичное статическое свойство

BindableSelectionHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml BindableSelectionHandlerProperty
Результат Windows.UI.Xaml.DependencyProperty

BindableSelectionProperty публичное статическое свойство

BindableSelection Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml BindableSelectionProperty
Результат Windows.UI.Xaml.DependencyProperty

ItemToBringIntoViewProperty публичное статическое свойство

ItemToBringIntoView Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml ItemToBringIntoViewProperty
Результат Windows.UI.Xaml.DependencyProperty