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!

ListItem.GetBounds

Returns a specific portion of the ListItem's bounding rectangle. The rectangle returned is empty if the ListItem has not been added to a ListView control.

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

Parameters

portion
The portion of the item's rectange desired. This must be one of the values from the ItemBoundsPortion enum.

Return Value

Rectangle associated with the ListItem

See Also

ListItem Class | ListItem Members | System.WinForms Namespace