FormsListView

Class Overviews
Provides operations on window controls of type System.Windows.Forms.ListView.



public FormsListView (WindowControl src)
Description
Constructor.

Parameter
src
Window control object for the underlying control.



public FormsListView (WindowsAppFriend app, AppVar appVar)
Description
Constructor.

Parameters
app
Application manipulation object.
appVar
Application variable object for the target control.



public int ColumnCount {get;}
Description
Returns the number of columns.



public int ItemCount {get;}
Description
Returns the number of items.



public int [] SelectIndexes {get;}
Description
Returns a list of the selected index.



public View ViewMode {get;}
Description
Returns the control's View Mode.



public void EmulateChangeSelectedState (int index, bool isSelect)
Description
Sets the selection state of the item with the specified index.

Parameters
index
Index of the item to change.
isSelect
The selection state (true to select).



public void EmulateChangeSelectedState (int index, bool isSelect, Async async)
Description
Sets the selection state of the item with the specified index.

Parameters
index
Index of the item to change.
isSelect
The selection state (true to select).
async
Asynchronous execution object.



public FormsListViewItem FindItemWithText (string itemText, bool includeSubItemsInSearch, int startIndex)
Description
Finds the first item whose text begins with the specified value.
 Return value
The first found item whose text begins with the specified text value.

Parameters
itemText
Text to search for.
includeSubItemsInSearch
True to include sub-items in the search. Otherwise, false.
startIndex
The index of the item at which to start the search.



public FormsListViewItem GetListViewItem (int index)
Description
Retrieves the item at the specified index.

Return value
Item at the specified index.

Parameter
index
The index.



JR