Share this page

IListViewItem Interface
A single list item belonging to a .NET Window Forms list view.

C# Syntax

    public interface IListViewItem : HP.LFT.SDK.ISupportDragAndDrop

Public Properties

| Name | Description
--- | --- | ---
| IsFocused | Indicates whether this list item has the focus in a multiple-selection list box.
| IsSelected | Indicates whether this list item is selected.
| State | This list-view control item's state image index.
| Text | The text of this list item. Returns an empty string if this list item does not contain any text.

Top
Public Methods

| Name | Description
--- | --- | ---
| ClickState | Clicks the state icon.
| DoubleClickState | Double-clicks state 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 this lists item label to enable renaming.
| GetSubItemText | Overloaded. Returns the text value of this report-style (LVS_REPORT) list-view subitem.
| SetItemState | Sets the state of the check box icon of the specified item in this list.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: