C# Class Microsoft.Phone.Controls.ItemsControlExtensions

Provides helper methods to work with ItemsControl.
显示文件 Open project: Kinnara/WPToolkit Class Usage Examples

Public Methods

Method Description
GetItemsInViewPort ( this list ) : IList

Gets the items that are currently in the view port of an ItemsControl with a ScrollViewer.

GetItemsInViewPort ( this list, IList items ) : void

Gets the items that are currently in the view port of an ItemsControl with a ScrollViewer and adds them into a list of weak references.

Method Details

GetItemsInViewPort() public static method

Gets the items that are currently in the view port of an ItemsControl with a ScrollViewer.
public static GetItemsInViewPort ( this list ) : IList
list this The ItemsControl to search on.
return IList

GetItemsInViewPort() public static method

Gets the items that are currently in the view port of an ItemsControl with a ScrollViewer and adds them into a list of weak references.
public static GetItemsInViewPort ( this list, IList items ) : void
list this /// The items control to search on. ///
items IList /// The list of weak references where the items in /// the view port will be added. ///
return void