Table of Contents

Method GetItemBounds

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetItemBounds(long, ListViewItemBoundsPortion)

Retrieves the bounding rectangle for an item within the control.

RectD GetItemBounds(long itemIndex, ListViewItemBoundsPortion portion)

Parameters

itemIndex long

The zero-based index of the item within the Items collection whose bounding rectangle you want to get.

portion ListViewItemBoundsPortion

One of the ListViewItemBoundsPortion values that represents a portion of the item for which to retrieve the bounding rectangle.

Returns

RectD

A RectD that represents the bounding rectangle for the specified portion of the specified ListViewItem.