Beta Documentation - Subject to change.

A simple list box for laying out child controls in a list.

Methods

  NameDescription
AddItemAdds an item to the list box.
ClearItemsClears all the items from the listbox.
ContainsItemTest is the list box contains an item.
EnsureVisibleEnsures that the specified item is visible.
FocusRequest that the control take focus. (Inherited from Control)
GetAllowDropGets if the control supports drop operations from drag and drop. (Inherited from Control)
GetBackColorGets the solid background color of the control. (Inherited from Control)
GetBackColorBlendModeGets the blend mode applied to the background color. (Inherited from Control)
GetBackgroundGets the background graphic of the control. (Inherited from Control)
GetBlendModeGets the blend mode applied to the background image. (Inherited from Control)
GetControlsGets the list of child controls. (Inherited from Control)
GetHeightGets the height of the control. (Inherited from Control)
GetHorizontalScrollBarGets the horizontal scroll bar. (Inherited from ScrollableControl)
GetItemGets the item at the specified index.
GetItemAtGets the item at the specified position.
GetItemCountGets the number of items in the list box.
GetLeftGets the left coordinate of the control. (Inherited from Control)
GetMaxItemsPerLineGets the maximum number of items per line.
GetMousePositionGets the mouse position relative to this control. (Inherited from Control)
GetOpacityGets the opacity of the window. (Inherited from Control)
GetOrientationGets the orientation of elements in the listbox.
GetParentGets the parent of the control. (Inherited from Control)
GetPositionGets the position of the control. (Inherited from Control)
GetReverseFillGets the a flag indicating if the listbox should fill in reverse.
GetSelectedIndexGets the selected index.
GetSelectedItemGets the currently selected item.
GetSizeGets the size of the control. (Inherited from Control)
GetTopGets the top coordinate of the window. (Inherited from Control)
GetVerticalScrollBarGets the vertical scroll bar. (Inherited from ScrollableControl)
GetWantsKeyEventsGets a flag indicating if the control wants to receive key events. (Inherited from Control)
GetWantsUpdatesGets the flag indicating if the control wants to receive Update notifications. (Inherited from Control)
GetWidthGets the width of the control. (Inherited from Control)
GetZOrderGets the Z ordering index of the control. (Inherited from Control)
HasFocusReturns true if the control has focus. (Inherited from Control)
IndexOfItemGets the index of an item in the list box.
InsertItemInserts an item to the list box.
IsAltKeyDownTest if the alt key is pressed. (Inherited from Control)
IsControlKeyDownTest if the control key is pressed. (Inherited from Control)
IsDisplayedGets a flag indicating if the control is displayed. (Inherited from Control)
IsEnabledGets a flag indicating if the control is enabled. (Inherited from Control)
IsMouseVisibleGets a flag indicating if the mouse will see this control. (Inherited from Control)
IsShiftKeyDownTest if the shift key is pressed. (Inherited from Control)
IsVisibleGets a flag indicating if the control is visible. (Inherited from Control)
PointToClientConverts a coordinate from control space to screen space. (Inherited from Control)
PointToScreenConverts a coordinate from control space to screen space. (Inherited from Control)
RemoveItemRemoves an item from the list box.
RemoveItemAtRemoves an item at the specified index.
SetAllowDropSets if the control supports drop operations from drag and drop. (Inherited from Control)
SetBackColorSets the background color of the control. (Inherited from Control)
SetBackColorBlendModeSets the blend mode applied to the background color. (Inherited from Control)
SetBackgroundSets the background image of the control. (Inherited from Control)
SetBlendModeSets the blend mode applied to the background image. (Inherited from Control)
SetEnabledSets a flag indicating if the control is enabled. (Inherited from Control)
SetHeightSets the height of the control. (Inherited from Control)
SetHorizontalScrollBarSets the horizontal scroll bar. (Inherited from ScrollableControl)
SetItemSets the item at the specified index.
SetLeftSets the left coordinate of the window. (Inherited from Control)
SetMaxItemsPerLineSets the maximum number of items per line.
SetMouseVisibleGets a flag indicating if the mouse will see this control. (Inherited from Control)
SetOpacitySets the opacity of the window. (Inherited from Control)
SetOrientationSets the orientation of elements in the listbox.
SetParentSets the parent of the control. (Inherited from Control)
SetPositionSets the position of the control. (Inherited from Control)
SetReverseFillSets the a flag indicating if the listbox should fill in reverse.
SetSelectedIndexSets the selected index.
SetSelectedItemSets the currently selected item.
SetSizeSets the size of the control. (Inherited from Control)
SetTopSets the top coordinate of the window. (Inherited from Control)
SetVerticalScrollBarSets the vertical scroll bar. (Inherited from ScrollableControl)
SetVisibleSets the visible flag of a control. (Inherited from Control)
SetWantsKeyEventsSets a flag indicating if the control wants to receive key events. (Inherited from Control)
SetWantsUpdatesSets the flag indicating if the cotnrol wants to receive update notifications. (Inherited from Control)
SetWidthSets the width of the control. (Inherited from Control)
SetZOrderSets the Z order of the control. (Inherited from Control)
SortSorts the elements in the list box.

Events

  NameDescription
DragDropEvent fired when a drag drop operation is completed. (Inherited from Control)
DragEnterEvent fired when a drag drop operation enters the control. (Inherited from Control)
DragLeaveEvent fired when a drag drop operation leaves the control. (Inherited from Control)
DragStartEvent fired when a drag drop operation starts the control. (Inherited from Control)
EnabledChangedEvent fired when the enabled state of the control changes. (Inherited from Control)
FocusGainedEvent fired when the control gains focus. (Inherited from Control)
FocusLostEvent fired when the control loses focus. (Inherited from Control)
ItemAddedEvent fired when an item is added.
ItemRemovedEvent fired when an item is removed.
KeyDownEvent fired when a key is pressed down. (Inherited from Control)
KeyUpEvent fired when a key is released. (Inherited from Control)
MouseClickEvent fired when a mouse button is clicked. (Inherited from Control)
MouseDoubleClickEvent fired when a mouse button is double clicked. (Inherited from Control)
MouseDownEvent fired when a mouse button is pressed. (Inherited from Control)
MouseEnterEvent fired when the mouse enters the control. (Inherited from Control)
MouseHoverEvent fired when the mouse is hovering over the control. (Inherited from Control)
MouseLeaveEvent fired when the mouse leaves the cotnrol. (Inherited from Control)
MouseMoveEvent fired when the mouse moves. (Inherited from Control)
MouseUpEvent fired when a mouse button is released. (Inherited from Control)
MouseWheelEvent fired when a mouse wheel moves. (Inherited from Control)
PositionChangedEvent fired when the position of the control changes. (Inherited from Control)
SelectedIndexChangedEvent fired when the selected index has changed.
SizeChangedEvent fired when the size of the control changes. (Inherited from Control)
UpdateEvent fired every frame when WantsUpdates is enabled. (Inherited from Control)
VisibleChangedEvent fired when the visible state of the control changes. (Inherited from Control)