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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: