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

Extension methods and attached properties for the ListBox class.
Показать файл Открыть проект

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

Свойство Тип Описание
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 ListBox.

GetBindableSelectionHandler ( DependencyObject d ) : ListBoxBindableSelectionHandler

Gets the BindableSelectionHandler property. This dependency property indicates BindableSelectionHandler for a ListBox - 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 listBox ) : void

Scrolls a vertical ListBox 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 ListBox.

SetBindableSelectionHandler ( DependencyObject d, ListBoxBindableSelectionHandler value ) : void

Sets the BindableSelectionHandler property. This dependency property indicates BindableSelectionHandler for a ListBox - 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 ListBox.
public static GetBindableSelection ( DependencyObject d ) : ObservableCollection
d Windows.UI.Xaml.DependencyObject
Результат ObservableCollection

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

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

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 ListBox to the bottom.
public static ScrollToBottom ( this listBox ) : void
listBox 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 ListBox.
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 ListBox - used to manage synchronization of BindableSelection and SelectedItems.
public static SetBindableSelectionHandler ( DependencyObject d, ListBoxBindableSelectionHandler value ) : void
d Windows.UI.Xaml.DependencyObject
value ListBoxBindableSelectionHandler
Результат 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