Méthode | 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
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | 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 ) : void | ||
control | Control | item to add |
Résultat | void |
public Add ( Control control, bool refresh ) : void | ||
control | Control | item to add |
refresh | bool | should refresh list? |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public static GetAbsoluteY ( int y, Control source, Control root ) : int | ||
y | int | the mouse Y |
source | Control | source control |
root | Control | root control |
Résultat | int |
public Remove ( Control control ) : void | ||
control | Control | list box item to remove |
Résultat | void |