Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
    • .NET API Reference
      • EO.Base
      • EO.Base.UI
      • EO.Extensions
      • EO.Pdf
      • EO.Pdf.Acm
      • EO.Pdf.Contents
      • EO.Pdf.Drawing
      • EO.Pdf.Mvc
      • EO.Web
        • EO.Web
        • Classes
          • AJAXPostedFile Class
          • AJAXPostedFileList Class
          • AJAXUploader Class
          • AJAXUploaderProgressDialog Class
          • ASPXToPDF Class
          • BaseMenuItem Class
          • BaseMenuItemGroup Class
          • BaseNavigator Class
          • BorderImages Class
          • ButtonColumn Class
          • Calendar Class
          • CalendarDay Class
          • Callback Class
          • CallbackEventArgs Class
          • CallbackPanel Class
          • CallbackTrigger Class
          • CallbackTriggerCollection Class
          • Captcha Class
          • CheckBoxColumn Class
          • ClientTemplate Class
          • ColorPicker Class
          • ComboBox Class
          • Consts Class
          • ContextMenu Class
          • Control Class
          • ControlFrame Class
          • CustomColumn Class
          • CustomItem Class
          • DataBinding Class
          • DataBindingCollection Class
          • DataBoundControl Class
          • DateCollection Class
          • DatePicker Class
          • DateTimeColumn Class
          • DayRenderEventArgs Class
          • DefaultClientTemplateAttribute Class
          • DeleteCommandColumn Class
          • DesignOptions Class
          • Dialog Class
          • Downloader Class
          • DownloadEventArgs Class
          • DynamicDownloadContent Class
          • EditableLabel Class
          • EditCommandColumn Class
          • Editor Class
          • EditorDialogContent Class
          • EditorDialogContentCollection Class
          • EditorDialogTemplate Class
          • EditorDialogTemplateCollection Class
          • EditorStyle Class
          • EditorStyleCollection Class
          • EditorTabButtonStyles Class
          • Effect Class
          • ElementPaddings Class
          • ElementStyle Class
          • Emoticon Class
          • FileExplorer Class
          • FileExplorerEventArgs Class
          • FileExplorerHolder Class
          • Floater Class
          • Flyout Class
          • FontInfo Class
          • Grid Class
          • GridCell Class
          • GridCellCollection Class
          • GridColumn Class
          • GridColumnCollection Class
          • GridColumnEventArgs Class
          • GridCommandEventArgs Class
          • GridItem Class
          • GridItemCollection Class
          • GridItemEventArgs Class
          • GridItemStyleSet Class
          • GridItemStyleSetCollection Class
          • ImageButtonInfo Class
          • ImageInfo Class
          • ImageZoom Class
          • InlineStyle Class
          • ListBox Class
          • ListBoxItem Class
          • ListBoxItemCollection Class
          • ListBoxItemContainer Class
          • ListItemEventArgs Class
          • LookItemCollection Class
          • MaskedEdit Class
          • MaskedEditColumn Class
          • MaskedEditSegment Class
          • MaskedEditSegmentCollection Class
          • MaskedEditValidator Class
          • Menu Class
          • MenuGroup Class
          • MenuItem Class
          • MenuItemCollection Class
          • MenuItemImages Class
          • MenuLookItemCollection Class
          • MsgBox Class
          • MsgBoxButton Class
          • MultiPage Class
          • MultiPageEventArgs Class
          • NavigationItem Class
          • NavigationItemCollection Class
          • NavigationItemEventArgs Class
          • NavigationItemGroup Class
          • NavigationItemImages Class
          • NavigationItemText Class
          • PageContextMenu Class
          • PageView Class
          • PageViewCollection Class
          • PathMapping Class
          • PathMappingCollection Class
          • PopupCalendar Class
          • ProgressBar Class
          • ProgressTaskEventArgs Class
          • RangeSlider Class
          • Rating Class
          • RowNumberColumn Class
          • Runtime Class
          • ScriptEvent Class
          • ScriptManager Class
          • Slide Class
          • SlideItem Class
          • SlideItemCollection Class
          • SlideItemEventArgs Class
          • SlideMenu Class
          • Slider Class
          • SliderBase Class
          • SliderLabel Class
          • SliderLabelCollection Class
          • SpecialLookIDs Class
          • SpellChecker Class
          • SpellCheckerDialog Class
          • SpellCheckerEventArgs Class
          • Splitter Class
          • SplitterPane Class
          • StaticColumn Class
          • TabItem Class
          • TabItemCollection Class
          • TabItemGroup Class
          • TabLookItemCollection Class
          • TabStrip Class
          • TemplatedPopup Class
          • TextBoxColumn Class
          • ToolBar Class
          • ToolBarEventArgs Class
          • ToolBarItem Class
          • ToolBarItemCollection Class
          • ToolTip Class
          • TreeLookNodeCollection Class
          • TreeNode Class
          • TreeNodeCheckStateChangedEventArgs Class
          • TreeNodeCollection Class
          • TreeNodeGroup Class
          • TreeNodeMovedEventArgs Class
          • TreeNodeRenameEventArgs Class
          • TreeView Class
          • TreeViewCheckBoxImages Class
          • TreeViewLineImages Class
          • TreeViewMargin Class
          • WebControl Class
          • WebControlBase Class
        • Structures
        • Enumerations
        • Delegates
      • EO.WebBrowser
      • EO.WebBrowser.DOM
      • EO.WebEngine
      • EO.WinForm
      • EO.Wpf
      • EO.Wpf.Gauge
      • EO.Wpf.Gauge.Shapes
      • EO.Wpf.Primitives
      • EO.Wpf.Themes.Aero
      • EO.Wpf.Themes.Classic
      • EO.Wpf.Themes.Luna
      • EO.Wpf.Themes.Metro
      • EO.Wpf.Themes.Royale
    • JavaScript API Reference
ListBox Members

The ListBox class exposes the following members.

Constructors
Name Description
ListBox(); Creates a new instance of the ListBox control.
Properties
Name Description
AccessKey (inherited from WebControl) 
Adapter (inherited from Control) 
AllowMultiSelect Gets or sets a boolean value indicating whether more than one item can be selected.
AlternateItemStyle Gets or sets the style properties for alternating list box items.
AppRelativeTemplateSourceDirectory (inherited from Control) 
Attributes (inherited from WebControl) 
AutoPostBack Gets or sets a value indicating whether an automatic postback to the server occurs when an item is selected.
BackColor Gets or sets the background color.
BodyStyle Gets or sets the style properties for the body section.
BorderColor Gets or sets the border color.
BorderImages (inherited from WebControl) Provides a list of images used to create customized borders for the control.
BorderStyle Gets or sets the borders style.
BorderWidth Gets or sets the border width.
ChildControlsCreated (inherited from Control) 
ClientID (inherited from Control) 
ClientIDMode (inherited from Control) 
ClientIDSeparator (inherited from Control) 
ClientSideOnError (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when an error occurs on client side.
ClientSideOnEvalVar (inherited from WebControl) Specifies the name of client side JavaScript function which is called when a variable needs to be evaluated in a client template.
ClientSideOnItemOver Gets or sets the name of the client side function to be called when mouse is over a list box item.
ClientSideOnItemSelected Gets or sets the name of the client side JavaScript function to be called when an item is selected.
ClientSideOnLoad (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control is loaded on the client side.
ClientSideOnMessage (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control displays a message.
ClientSideOnUnload (inherited from WebControlBase) Gets or sets the name of the JavaScript function that is called when the control is unloaded on the client side.
Context (inherited from Control) 
Controls (inherited from Control) 
ControlSkinID (inherited from WebControl) Specifies the ID of the skin used by this control.
ControlStyle (inherited from WebControl) 
ControlStyleCreated (inherited from WebControl) 
CssBlock (inherited from WebControl) Specifies the CSS style definition used by this control.
CssClass Gets or sets the CSS class name of the control.
CssFile (inherited from WebControl) Specifies the path of an external CSS file that provides CSS styles used by this control.
DataIconField Gets or sets the field of the data source that provides list box item icon.
DataItem (inherited from DataBoundControl) The current data item during data binding.
DataItemContainer (inherited from Control) 
DataKeysContainer (inherited from Control) 
DataSource (inherited from DataBoundControl) Gets or sets the data source used by the control.
DataSourceID (inherited from DataBoundControl) Gets or sets the ID of this control's data source object. Used in .NET 2.0 only.
DataTextField Gets or sets the field of the data source that provides the list box item text.
DataValueField Gets or sets the field of the data source that provides list box item value.
DesignMode (inherited from Control) 
DesignOptions (inherited from WebControl) Contains options used for design time preview.
DisabledItemStyle Gets or sets the style properties for disabled list box items.
Enabled (inherited from WebControl) 
EnableKeyboardNavigation (inherited from WebControl) Gets or sets a value indicating whether keyboard navigation should be enabled.
EnableTheming (inherited from WebControl) 
EnableViewState (inherited from Control) 
Events (inherited from Control) 
Font (inherited from WebControl) 
FooterContainer Gets the container control for the footer.
FooterStyle Gets or sets the style properties for the footer section.
FooterTemplate Gets or sets the ITemplate that defines how the footer section of the ListBox control is displayed.
ForceSSL (inherited from WebControl) Gets or sets a value indicating whether the server should work as if it were always running on a secure server (https).
ForeColor Gets or sets the foreground color.
HasAttributes (inherited from WebControl) 
HasChildViewState (inherited from Control) 
HeaderContainer Gets the container control for the header.
HeaderStyle Gets or sets the style properties for the header section.
HeaderTemplate Gets or sets the ITemplate that defines how the header section of the ListBox control is displayed.
Height (inherited from WebControl) 
ID (inherited from Control) 
IdSeparator (inherited from Control) 
ImageBaseDirectory (inherited from WebControl) Gets or sets the folder that contains images for the control.
IsChildControlStateCleared (inherited from Control) 
IsEnabled (inherited from WebControl) 
IsTrackingViewState (inherited from Control) 
IsViewStateEnabled (inherited from Control) 
ItemHoverStyle Gets or sets the style properties for a list box item when mouse is over the item.
ItemListStyle Gets or sets the style properties for the item list.
Items Gets the items collection.
ItemStyle Gets or sets the style properties for list box items.
ItemTemplate Gets or sets the ITemplate that defines how items in the ListBox control are displayed.
ListBoxStyle Gets or sets the style properties applied to the ListBox control.
LoadingItemsHtml Gets or sets the text displayed when the list box is loading additional items.
LoadViewStateByID (inherited from Control) 
MoreItemsMessageFormat Gets or sets the text used to format the message that indicates more items are available.
MoreItemsMessageStyle Gets or sets the style properties used by the message that indicates more items are available.
MultiSelectModifier Gets or sets the modifier key for selecting multiple items.
NamingContainer (inherited from Control) 
NoMoreItemsMessageFormat Gets or sets the text used to format the message that indicates no more items are available.
Parent (inherited from Control) 
RenderingCompatibility (inherited from Control) 
RightToLeft (inherited from WebControl) Gets or sets a value indicating whether the control should renders as right to left.
SelectedIndex Gets or sets the index specifying the currently selected item.
SelectedItem Gets the first selected item.
SelectedItems Gets a collection containing all the selected items in the list box.
SelectedItemStyle Gets or sets the style properties for selected list box items.
Shortcut (inherited from WebControl) Get a Shortcut object through which you can get or set the keyboard short cut for this control.
Site (inherited from Control) 
SkinID (inherited from WebControl) 
Style (inherited from WebControl) 
SupportsDisabledAttribute (inherited from WebControl) 
TabIndex (inherited from WebControl) 
TagKey (inherited from WebControl) 
TagName (inherited from WebControl) 
TemplateControl (inherited from Control) 
TemplateSourceDirectory (inherited from Control) 
ToolTip (inherited from WebControl) 
TotalItemCount Gets or sets the total item count.
UniqueID (inherited from Control) 
ValidateRequestMode (inherited from Control) 
ViewState (inherited from Control) 
ViewStateIgnoresCase (inherited from Control) 
ViewStateMode (inherited from Control) 
Visible (inherited from Control) 
Width (inherited from WebControl) 
Methods
Name Description
AddAttributesToRender (inherited from WebControl) 
AddedControl (inherited from Control) 
AddParsedSubObject (inherited from Control) 
ApplyStyle (inherited from WebControl) 
ApplyStyleSheetSkin (inherited from Control) 
BeginRenderTracing (inherited from Control) 
BuildProfileTree (inherited from Control) 
ClearCachedClientID (inherited from Control) 
ClearChildControlState (inherited from Control) 
ClearChildState (inherited from Control) 
ClearChildViewState (inherited from Control) 
ClearEffectiveClientIDMode (inherited from Control) 
CopyBaseAttributes (inherited from WebControl) 
CreateControlCollection (inherited from Control) 
CreateControlStyle (inherited from WebControl) 
DataBind (inherited from Control)Overloaded.  
DataBind (inherited from Control)Overloaded.  
DataBindChildren (inherited from Control) 
Dispose (inherited from Control) 
EndRenderTracing (inherited from Control) 
EnsureChildControls (inherited from Control) 
EnsureID (inherited from Control) 
Equals (inherited from Object) 
Finalize (inherited from Object) 
FindControl (inherited from Control)Overloaded.  
FindControl (inherited from Control)Overloaded.  
Focus (inherited from Control) 
GetDesignModeState (inherited from Control) 
GetHashCode (inherited from Object) 
GetRouteUrl (inherited from Control)Overloaded.  
GetType (inherited from Object) 
GetUniqueIDRelativeTo (inherited from Control) 
HasControls (inherited from Control) 
HasEvents (inherited from Control) 
IsLiteralContent (inherited from Control) 
LoadControlState (inherited from Control) 
MapPathSecure (inherited from Control) 
MemberwiseClone (inherited from Object) 
MergeStyle (inherited from WebControl) 
OnBubbleEvent (inherited from Control) 
OnUnload (inherited from Control) 
OpenFile (inherited from Control) 
RaiseBubbleEvent (inherited from Control) 
RemovedControl (inherited from Control) 
RenderBeginTag (inherited from WebControl) 
RenderChildren (inherited from Control) 
RenderContents (inherited from WebControl) 
RenderControl (inherited from Control)Overloaded.  
RenderControl (inherited from Control)Overloaded.  
RenderEndTag (inherited from WebControl) 
ResolveAdapter (inherited from Control) 
ResolveClientUrl (inherited from Control) 
ResolveUrl (inherited from Control) 
SaveControlState (inherited from Control) 
SetDesignModeState (inherited from Control) 
SetRenderMethodDelegate (inherited from Control) 
SetTraceData (inherited from Control)Overloaded.  
ToString (inherited from Object) 
See Also