Table of Contents

Interface IListViewHandler

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

Contains methods and properties which allow to work with the list view control.

public interface IListViewHandler : IControlHandler, IDisposableObject, IDisposable

Properties

AllowLabelEdit

Gets or sets a value indicating whether the user can edit the labels of items in the control.

ColumnHeaderVisible

Gets or sets a boolean value which specifies whether the column header is visible in Details view.

FocusedItemIndex

Gets or sets focused item index.

GridLinesDisplayMode

Gets or sets the grid line display mode for this list view.

HasBorder

Gets or sets a value indicating whether the control has a border.

SelectedIndices

Gets a collection that contains the zero-based indexes of all currently selected items in the ListView.

TopItem

Gets or sets the first fully-visible item in the list view control.

Methods

BeginLabelEdit(long)

Initiates the editing of the list view item label.

Clear()

Removes all items and columns from the control.

EnsureItemVisible(long)

Ensures that item is visible.

GetItemBounds(long, ListViewItemBoundsPortion)

Retrieves the bounding rectangle for an item within the control.

HitTest(PointD)

Provides list view item information, at a given client point, in device-independent units.

SetColumnTitle(long, string)

Sets column title.

SetColumnWidth(long, double, ListViewColumnWidthMode)

Sets column width.

SetItemImageIndex(long, long, int?)

Sets item image.

SetItemText(long, long, string)

Sets item text.