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!

ListBox.GetItemRectangle

Retrieves a Rectangle object which describes the bounding rectangle around an item in the list. If the item in question is not visible, the rectangle will be outside the visible portion of the control.

[Visual Basic]
Public Function GetItemRectangle( _
   ByVal index As Integer _
) As Rectangle
[C#]
public Rectangle GetItemRectangle(
   int index
);
[C++]
public: Rectangle GetItemRectangle(
   int index
);
[JScript]
public function GetItemRectangle(
   index : int
) : Rectangle;

Parameters

index
index of item to return bounding rectangle for

Return Value

a Rectangle object with the given item's bounds.

See Also

ListBox Class | ListBox Members | System.WinForms Namespace