Methods
| Name | Description | |
|---|---|---|
| AddItem | Adds an item to the list box. | |
| ClearItems | Clears all the items from the listbox. | |
| ContainsItem | Test is the list box contains an item. | |
| EnsureVisible | Ensures that the specified item is visible. | |
| Focus | Request that the control take focus. (Inherited from Control) | |
| GetAllowDrop | Gets if the control supports drop operations from drag and drop. (Inherited from Control) | |
| GetBackColor | Gets the solid background color of the control. (Inherited from Control) | |
| GetBackColorBlendMode | Gets the blend mode applied to the background color. (Inherited from Control) | |
| GetBackground | Gets the background graphic of the control. (Inherited from Control) | |
| GetBlendMode | Gets the blend mode applied to the background image. (Inherited from Control) | |
| GetControls | Gets the list of child controls. (Inherited from Control) | |
| GetHeight | Gets the height of the control. (Inherited from Control) | |
| GetHorizontalScrollBar | Gets the horizontal scroll bar. (Inherited from ScrollableControl) | |
| GetItem | Gets the item at the specified index. | |
| GetItemAt | Gets the item at the specified position. | |
| GetItemCount | Gets the number of items in the list box. | |
| GetLeft | Gets the left coordinate of the control. (Inherited from Control) | |
| GetMaxItemsPerLine | Gets the maximum number of items per line. | |
| GetMousePosition | Gets the mouse position relative to this control. (Inherited from Control) | |
| GetOpacity | Gets the opacity of the window. (Inherited from Control) | |
| GetOrientation | Gets the orientation of elements in the listbox. | |
| GetParent | Gets the parent of the control. (Inherited from Control) | |
| GetPosition | Gets the position of the control. (Inherited from Control) | |
| GetReverseFill | Gets the a flag indicating if the listbox should fill in reverse. | |
| GetSelectedIndex | Gets the selected index. | |
| GetSelectedItem | Gets the currently selected item. | |
| GetSize | Gets the size of the control. (Inherited from Control) | |
| GetTop | Gets the top coordinate of the window. (Inherited from Control) | |
| GetVerticalScrollBar | Gets the vertical scroll bar. (Inherited from ScrollableControl) | |
| GetWantsKeyEvents | Gets a flag indicating if the control wants to receive key events. (Inherited from Control) | |
| GetWantsUpdates | Gets the flag indicating if the control wants to receive Update notifications. (Inherited from Control) | |
| GetWidth | Gets the width of the control. (Inherited from Control) | |
| GetZOrder | Gets the Z ordering index of the control. (Inherited from Control) | |
| HasFocus | Returns true if the control has focus. (Inherited from Control) | |
| IndexOfItem | Gets the index of an item in the list box. | |
| InsertItem | Inserts an item to the list box. | |
| IsAltKeyDown | Test if the alt key is pressed. (Inherited from Control) | |
| IsControlKeyDown | Test if the control key is pressed. (Inherited from Control) | |
| IsDisplayed | Gets a flag indicating if the control is displayed. (Inherited from Control) | |
| IsEnabled | Gets a flag indicating if the control is enabled. (Inherited from Control) | |
| IsMouseVisible | Gets a flag indicating if the mouse will see this control. (Inherited from Control) | |
| IsShiftKeyDown | Test if the shift key is pressed. (Inherited from Control) | |
| IsVisible | Gets a flag indicating if the control is visible. (Inherited from Control) | |
| PointToClient | Converts a coordinate from control space to screen space. (Inherited from Control) | |
| PointToScreen | Converts a coordinate from control space to screen space. (Inherited from Control) | |
| RemoveItem | Removes an item from the list box. | |
| RemoveItemAt | Removes an item at the specified index. | |
| SetAllowDrop | Sets if the control supports drop operations from drag and drop. (Inherited from Control) | |
| SetBackColor | Sets the background color of the control. (Inherited from Control) | |
| SetBackColorBlendMode | Sets the blend mode applied to the background color. (Inherited from Control) | |
| SetBackground | Sets the background image of the control. (Inherited from Control) | |
| SetBlendMode | Sets the blend mode applied to the background image. (Inherited from Control) | |
| SetEnabled | Sets a flag indicating if the control is enabled. (Inherited from Control) | |
| SetHeight | Sets the height of the control. (Inherited from Control) | |
| SetHorizontalScrollBar | Sets the horizontal scroll bar. (Inherited from ScrollableControl) | |
| SetItem | Sets the item at the specified index. | |
| SetLeft | Sets the left coordinate of the window. (Inherited from Control) | |
| SetMaxItemsPerLine | Sets the maximum number of items per line. | |
| SetMouseVisible | Gets a flag indicating if the mouse will see this control. (Inherited from Control) | |
| SetOpacity | Sets the opacity of the window. (Inherited from Control) | |
| SetOrientation | Sets the orientation of elements in the listbox. | |
| SetParent | Sets the parent of the control. (Inherited from Control) | |
| SetPosition | Sets the position of the control. (Inherited from Control) | |
| SetReverseFill | Sets the a flag indicating if the listbox should fill in reverse. | |
| SetSelectedIndex | Sets the selected index. | |
| SetSelectedItem | Sets the currently selected item. | |
| SetSize | Sets the size of the control. (Inherited from Control) | |
| SetTop | Sets the top coordinate of the window. (Inherited from Control) | |
| SetVerticalScrollBar | Sets the vertical scroll bar. (Inherited from ScrollableControl) | |
| SetVisible | Sets the visible flag of a control. (Inherited from Control) | |
| SetWantsKeyEvents | Sets a flag indicating if the control wants to receive key events. (Inherited from Control) | |
| SetWantsUpdates | Sets the flag indicating if the cotnrol wants to receive update notifications. (Inherited from Control) | |
| SetWidth | Sets the width of the control. (Inherited from Control) | |
| SetZOrder | Sets the Z order of the control. (Inherited from Control) | |
| Sort | Sorts the elements in the list box. |
Events
| Name | Description | |
|---|---|---|
| DragDrop | Event fired when a drag drop operation is completed. (Inherited from Control) | |
| DragEnter | Event fired when a drag drop operation enters the control. (Inherited from Control) | |
| DragLeave | Event fired when a drag drop operation leaves the control. (Inherited from Control) | |
| DragStart | Event fired when a drag drop operation starts the control. (Inherited from Control) | |
| EnabledChanged | Event fired when the enabled state of the control changes. (Inherited from Control) | |
| FocusGained | Event fired when the control gains focus. (Inherited from Control) | |
| FocusLost | Event fired when the control loses focus. (Inherited from Control) | |
| ItemAdded | Event fired when an item is added. | |
| ItemRemoved | Event fired when an item is removed. | |
| KeyDown | Event fired when a key is pressed down. (Inherited from Control) | |
| KeyUp | Event fired when a key is released. (Inherited from Control) | |
| MouseClick | Event fired when a mouse button is clicked. (Inherited from Control) | |
| MouseDoubleClick | Event fired when a mouse button is double clicked. (Inherited from Control) | |
| MouseDown | Event fired when a mouse button is pressed. (Inherited from Control) | |
| MouseEnter | Event fired when the mouse enters the control. (Inherited from Control) | |
| MouseHover | Event fired when the mouse is hovering over the control. (Inherited from Control) | |
| MouseLeave | Event fired when the mouse leaves the cotnrol. (Inherited from Control) | |
| MouseMove | Event fired when the mouse moves. (Inherited from Control) | |
| MouseUp | Event fired when a mouse button is released. (Inherited from Control) | |
| MouseWheel | Event fired when a mouse wheel moves. (Inherited from Control) | |
| PositionChanged | Event fired when the position of the control changes. (Inherited from Control) | |
| SelectedIndexChanged | Event fired when the selected index has changed. | |
| SizeChanged | Event fired when the size of the control changes. (Inherited from Control) | |
| Update | Event fired every frame when WantsUpdates is enabled. (Inherited from Control) | |
| VisibleChanged | Event fired when the visible state of the control changes. (Inherited from Control) |