FormsListBox

Class Abstract
It provides operations Type is corresponding to the window of System.Windows.Forms.ListBox.



public FormsListBox (WindowControl src)
Description
The constructor.

Parameter
src
Window control the underlying.



public FormsListBox (WindowsAppFriend app, AppVar appVar)
Description
The constructor.

Parameters
app
Application class operation.
appVar
Application variable.



public int ItemCount {get;}
Description
I get the number of items in the list.



public int SelectedIndex {get;}
Description
I get the index of the currently selected item.



public int[] SelectedIndexes {get;}
Description
I get a list item list in the selected state.



public SelectionMode SelectionMode {get;}
Description
I get the selection mode.



public void EmulateChangeSelectedIndex ()
Description
I want to select an item state corresponding to the specified index.



public void EmulateChangeSelectedIndex (int index, Async async)
Description
I want to select an item state corresponding to the specified index.
I run asynchronously.

Parameters
index
Index.
async
Asynchronous execution object.



public void EmulateChangeSelectedState (int index, bool isSelect)
Description
I want to select an item state corresponding to the specified index.

Parameters
index
Index.
isSelect
Set true to the selected state.



public void EmulateChangeSelectedState (int index, bool isSelect, Async async)
Description
I want to select an item state corresponding to the specified index.

Parameters
index
Index.
isSelect
Set true to the selected state.
async
Asynchronous execution object.



public FindListIndex (string ItemText)
Description
I find with the specified text items.

Return value
Item handle of the node that is searched. Null is returned undiscovered at the time.

Parameter
ItemText
Text of each node