Open topic with navigation

IListViewItem Interface
A single list item in a standard Windows list-view object.

C# Syntax

    public interface IListViewItem : HP.LFT.SDK.ISupportDragAndDrop

Public Properties

| Name | Description
--- | --- | ---
| IsFocused | Indicates whether the list item is in focus in a multiple selection list box.
| IsSelected | Indicates whether the list item is selected.
| State | The list item's state image index.
| Text | The text value of the list item, or "" when empty.

Top
Public Methods

| Name | Description
--- | --- | ---
| ClickState | Clicks the state image icon.
| DoubleClickState | Double-clicks state image icon.
| DragAndDropOn | Drags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
| EnableLabelEditing | Activates the edit mode for the lists item label to enable renaming. IMPORTANT: This method only enables the item for renaming. To actually rename the item, set its value using IEditor or IEditField test object, together with an applicable method.
| GetSubItemText | Overloaded. Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.
| SetItemState | Sets the state of the check box icon of the specified item in the list.

Top