UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
IListViewItem Interface
A single list item belonging to a .NET Window Forms list view.
Syntax
public interface IListViewItem : HP.LFT.SDK.ISupportDragAndDrop  
Public Properties
 NameDescription
 PropertyIsFocusedIndicates whether this list item has the focus in a multiple-selection list box.  
 PropertyIsSelectedIndicates whether this list item is selected.  
 PropertyStateThis list-view control item's state image index.  
 PropertyTextThe text of this list item. Returns an empty string if this list item does not contain any text.  
Top
Public Methods
 NameDescription
 MethodClickStateClicks the state icon.  
 MethodDoubleClickStateDouble-clicks state icon.  
 MethodDragAndDropOnDrags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
 MethodEnableLabelEditingActivates the edit mode for this lists item label to enable renaming.  
 MethodGetSubItemTextOverloaded. Returns the text value of this report-style (LVS_REPORT) list-view subitem.  
 MethodSetItemStateSets the state of the check box icon of the specified item in this list.  
Top