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
Property IsFocused Indicates whether the list item is in focus in a multiple selection list box.  
Property IsSelected Indicates whether the list item is selected.  
Property State The list item's state image index.  
Property Text The text value of the list item, or "" when empty.  
Public Methods
  Name Description
Method ClickState Clicks the state image icon.  
Method DoubleClickState Double-clicks state image icon.  
Method DragAndDropOn Drags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
Method 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.  

Method GetSubItemText Overloaded. Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.  
Method SetItemState Sets the state of the check box icon of the specified item in the list.