Table of Contents

Interface IVListBoxHandler

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

Contains methods and properties which allow to work with virtual list box control.

public interface IVListBoxHandler

Properties

ItemsCount

Sets items count.

Methods

GetItemRect(int)

Returns the rectangle occupied by this item in physical coordinates (dips). If the item is not currently visible, returns an empty rectangle.

GetVisibleBegin()

Gets index of the first visible item.

GetVisibleEnd()

Gets index of the last visible item.

HitTest(PointD)

Returns the zero-based index of the item at the specified coordinates.

RefreshRow(int)

Triggers a refresh for just the given row's area of the control if it is visible.

RefreshRows(int, int)

Triggers a refresh for the area between the specified range of rows given (inclusively).

ScrollToRow(int)

Scrolls to the specified row.