ListBox Object Properties
Name |
Description |
Align |
Determines how the control aligns within its container (parent control). |
AlignWithMargins |
Indicates whether a control should be constrained by margins. |
Anchors |
Specifies how the control is anchored to its parent. |
AutoComplete |
Determines whether the user can give focus to items by typing in the list. |
AutoCompleteDelay |
Specifies the delay between a key press and an attempt to autocomplete the field. |
BevelEdges |
Specifies which edges of the control are beveled. |
BevelInner |
Specifies the cut of the inner bevel. |
BevelKind |
Specifies the control's bevel style. |
BevelOuter |
Specifies the cut of the outer bevel. |
BevelWidth |
Specifies the width of the inner and outer bevels. |
BiDiMode |
Specifies the bi-directional mode for the control. |
BorderStyle |
Determines whether the list box has a border. |
Color |
Specifies the background color of the control. |
Columns |
Specifies the number of columns, in a multi-column list box, that are visible without having to scroll. |
Constraints |
Specifies the size constraints for the control. |
Ctl3D |
Determines whether a control has a three-dimensional (3-D) or two-dimensional look. |
Cursor |
Specifies the image used to represent the mouse pointer when it passes into the region covered by the control. |
CustomHint |
Custom hint for control. |
DoubleBuffered |
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first. |
DragCursor |
Indicates the image used to represent the mouse pointer when the control is being dragged. |
DragKind |
Specifies whether the control is being dragged normally or for docking. |
DragMode |
Determines how the control initiates drag-and-drop or drag-and-dock operations. |
Enabled |
Controls whether the control responds to mouse, keyboard, and timer events. |
ExtendedSelect |
Makes list item multi-select operate with Shift and CTRL keys. |
Font |
Controls the attributes of text written on or in the control. |
Height |
Specifies the vertical size of the control in pixels. |
HelpContext |
Numeric ID for control's context-sensitive help topic |
HelpKeyword |
Keyword for control's context-sensitive help topic |
HelpType |
Indicates whether the control's context sensitive help topic is identified by context ID or by keyword. |
Hint |
Contains the text string that can appear when the user moves the mouse over the control. |
ImeMode |
Determines the behavior of the input method editor (IME). |
ImeName |
Specifies the input method editor (IME) to use for converting keyboard input to Asian language characters. |
IntegralHeight |
Determines whether the list box displays the partial items. |
ItemHeight |
Specifies the height in pixels of an item in an owner-draw list box. |
Items |
Use the Text property to set/get the items that appear in the list box. |
Left |
Specifies the horizontal coordinate of the left edge of a component relative to its parent. |
Margins |
Specifies the margins for the control. |
MultiSelect |
Specifies whether the user can select more than one item. |
Name |
Specifies the name of the component as referenced in code. |
ParentBiDiMode |
Specifies whether the control uses its parent's BiDiMode. |
ParentColor |
Determines where a control looks for its color information. |
ParentCtl3D |
Determines where a component looks to determine if it should appear three dimensional. |
ParentCustomHint |
Determines where a control looks for its custom hint. |
ParentDoubleBuffered |
ParentDoubleBuffered defers the DoubleBuffered property of this component to the value of the parent's DoubleBuffered property. |
ParentFont |
Determines where a control looks for its font information. |
ParentShowHint |
Determines where a control looks to find out if its Help Hint should be shown. |
PopupMenu |
Identifies the pop-up menu associated with the control. |
ScrollWidth |
Specifies the width, in pixels, by which the list box can scroll horizontally. |
SelectedIndex |
Provides the index of the item selected. |
SelectedItems |
Returns the selected item or if MultiSelect enabled returns a %CRLF% delimited list of all selected items. |
ShowHint |
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control. |
Sorted |
Specifies whether the items in a list box are arranged alphabetically. |
Style |
Determines whether the list box is standard or owner-draw and whether it is virtual. |
TabOrder |
Indicates the position of the control in its parent's tab order. |
TabStop |
Determines if the user can tab to a control. |
TabWidth |
Specifies the size of the tabs in the list box. |
Tag |
Stores an integer value as part of a component. |
Text |
The text of the list. Specify a list of items separated by line breaks. To enter multiple lines of text at design time right click in the property editor and select "Multiline Edit". When assigning a list of items at run time using SetDialogProperty delimit lines with the %CRLF% variable. |
Top |
Specifies the Y coordinate of the top left corner of a control, relative to its parent or containing control in pixels. |
Visible |
Determines whether the component appears onscreen. |
Width |
Specifies the horizontal size of the control or form in pixels. |