FormsCheckedListBox

Class Overview
Provides operations on controls of type System.Windows.Forms.CheckedListBox.



public FormsCheckedListBox (FormsControlBase src)
Description
Constructor.

Parameter
src
WindowControl object for the underlying control.



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

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



public int [] CheckedIndices {get;}
Description
Returns an array of the indices that are currently checked.



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



public int SelectedItemIndex {get;}
Description
Returns the index of the currently selected item.



public void EmulateChangeSelectedIndex (int index)
Description
Sets the currently selected index.

Parameter
index
The index.



public void EmulateChangeSelectedIndex (int index, Async async)
Description
Sets the currently selected index asynchronously.

Parameters
index
The index.
async
Asynchronous execution object.



public void EmulateCheckState (int index, CheckState value)
Description
Sets the check state of a certain item.

Parameters
index
Index of the item.
value
Check state.



public void EmulateCheckState (int index, CheckState value, Async async)
Description
Sets the check state of a certain item asynchronously.

Parameters
index
Index of the item.
value
Check state.
async
Asynchronous execution object.



public int FindListIndex (string ItemText)
Description
Finds an item with the indicated text.

Return value
Index of the found item. Returns -1 if the item could not be found.

Parameter
ItemText
Text of the item.



public CheckState GetCheckState ()
Description
Returns the control's check state.

Return value
The check state.


JR