Version

GetVisibleItems Method

Gets only the visible items and adds them to the given list.
Syntax
'Declaration
 
Protected Overridable Sub GetVisibleItems( _
   ByVal windowRect As Rect, _
   ByVal viewportRect As Rect, _
   ByVal itemLocations As IList(Of Point), _
   ByVal visibleItems As List(Of Integer) _
) 
protected virtual void GetVisibleItems( 
   Rect windowRect,
   Rect viewportRect,
   IList<Point> itemLocations,
   List<int> visibleItems
)

Parameters

windowRect
The WindowRect in context.
viewportRect
The Viewport in context.
itemLocations
The locations of all items in context.
visibleItems
The list to add all visible items to.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also