Method | Description | |
---|---|---|
Add ( Control control ) : void |
Add new item
|
|
Add ( Control control, bool refresh ) : void |
Add new items
|
|
AdjustHeight ( ) : void |
Adjust height of list box to fit bottom of last item
|
|
Clear ( ) : void |
Clear all items
|
|
Dispose ( ) : void |
Dispose of resources
|
|
Focus ( ) : bool |
Focus on list, if nothing currently selected, then select first item
|
|
GetAbsoluteY ( int y, Control source, Control root ) : int |
Get the absolute Y position
|
|
Invalidate ( ) : void |
Invalidate
|
|
Refresh ( ) : void |
Refresh
|
|
Remove ( Control control ) : void |
Remove an item
|
|
ScrollListBox ( ) : System |
Scroll List Box
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
EnhancedListBox_KeyDown ( object sender, KeyEventArgs e ) : void |
Handle KeyDown of list box
|
|
GetSelectedIndex ( Control item ) : int |
Get the selected index
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
MaxBottom ( ControlCollection controls ) : int |
Get the maximum bottom position of lowest control
|
|
OnItemClick ( object sender, EventArgs e ) : void |
Upon single click, fire IndexChanged event
|
|
OnItemDoubleClick ( object sender, EventArgs e ) : void |
Upon DoubleClick, fire ItemSelected event
|
|
OnItemSelected ( Control item ) : void |
Fire ItemSelected event, if handler is registered
|
public Add ( Control control, bool refresh ) : void | ||
control | Control | item to add |
refresh | bool | should refresh list? |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public static GetAbsoluteY ( int y, Control source, Control root ) : int | ||
y | int | the mouse Y |
source | Control | source control |
root | Control | root control |
return | int |
public Remove ( Control control ) : void | ||
control | Control | list box item to remove |
return | void |