NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListView.GetItemAt

Returns the current ListItem corresponding to the specific x,y co-ordinate.

[Visual Basic]
Public Function GetItemAt( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As ListItem
[C#]
public ListItem GetItemAt(
   int x,
   int y
);
[C++]
public: ListItem* GetItemAt(
   int x,
   int y
);
[JScript]
public function GetItemAt(
   x : int,
   y : int
) : ListItem;

Parameters

x
x position to check against
y
y position to check against

Return Value

ListItem ListItem at position, or null if no Item exists there.

See Also

ListView Class | ListView Members | System.WinForms Namespace