C# Class WinRTXamlToolkit.Controls.Extensions.ListViewExtensions

Extension methods and attached properties for the ListView class. source http://winrtxamltoolkit.codeplex.com/
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
BindableSelectionHandlerProperty Windows.UI.Xaml.DependencyProperty
BindableSelectionProperty Windows.UI.Xaml.DependencyProperty
ItemToBringIntoViewProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
OnBindableSelectionChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the BindableSelection property.

OnItemToBringIntoViewChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemToBringIntoView property.

Method Details

GetBindableSelection() public static méthode

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
Résultat ObservableCollection

GetBindableSelectionHandler() public static méthode

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
Résultat ListViewBindableSelectionHandler

GetItemToBringIntoView() public static méthode

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
Résultat object

ScrollToBottom() public static méthode

Scrolls a vertical ListView to the bottom.
public static ScrollToBottom ( this listView ) : void
listView this
Résultat void

SetBindableSelection() public static méthode

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
Résultat void

SetBindableSelectionHandler() public static méthode

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
Résultat void

SetItemToBringIntoView() public static méthode

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
Résultat void

Property Details

BindableSelectionHandlerProperty public_oe static_oe property

BindableSelectionHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml BindableSelectionHandlerProperty
Résultat Windows.UI.Xaml.DependencyProperty

BindableSelectionProperty public_oe static_oe property

BindableSelection Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml BindableSelectionProperty
Résultat Windows.UI.Xaml.DependencyProperty

ItemToBringIntoViewProperty public_oe static_oe property

ItemToBringIntoView Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml ItemToBringIntoViewProperty
Résultat Windows.UI.Xaml.DependencyProperty