Share via


ListBox Members

The following tables list the members exposed by the ListBox type.

Public Constructors

Name Description
Public Method ListBox Initializes a new instance of the ListBox class.

Public Fields

Name Description
Public Field Dispatcher (Inherited from DispatcherObject.)

Protected Fields

Name Description
Protected Field _horizontalAlignment (Inherited from UIElement.)
Protected Field _verticalAlignment (Inherited from UIElement.)

Public Properties

Name Description
Public Property ActualHeight (Inherited from UIElement.)
Public Property ActualWidth (Inherited from UIElement.)
Public Property Background (Inherited from Control.)
Public Property Child (Inherited from ContentControl.)
Public Property ExtentHeight Gets the height of a control's display area, in pixels.
Public Property ExtentWidth Gets the width of a control's display area, in pixels.
Public Property Font (Inherited from Control.)
Public Property Foreground (Inherited from Control.)
Public Property Height (Inherited from UIElement.)
Public Property HorizontalAlignment (Inherited from UIElement.)
Public Property HorizontalOffset Gets or sets the horizontal offset, or displacement, of a control's content from the left edge of the display device area that contains the control.
Public Property IsArrangeValid (Inherited from UIElement.)
Public Property IsEnabled (Inherited from UIElement.)
Public Property IsFocused (Inherited from UIElement.)
Public Property IsMeasureValid (Inherited from UIElement.)
Public Property IsVisible (Inherited from UIElement.)
Public Property Items Gets the collection used to generate the contents of the current list box.
Public Property Parent (Inherited from UIElement.)
Public Property RootUIElement (Inherited from UIElement.)
Public Property ScrollingStyle Gets or sets a value that controls how the current list box is scrolled.
Public Property SelectedIndex Gets or sets the index number of a specified item in the current list box.
Public Property SelectedItem Gets or sets a specified item in the current list box.
Public Property VerticalAlignment (Inherited from UIElement.)
Public Property VerticalOffset Gets or sets the vertical offset, or displacement, of a control's content from the top edge of the display device area that contains the control.
Public Property Visibility (Inherited from UIElement.)
Public Property Width (Inherited from UIElement.)

Protected Properties

Name Description
Protected Property InstanceEventHandlersStore (Inherited from UIElement.)
Protected Property LogicalChildren (Inherited from UIElement.)

Public Methods

Name Description
Public Method AddHandler (Inherited from UIElement.)
Public Method AddToEventRoute (Inherited from UIElement.)
Public Method Arrange (Inherited from UIElement.)
Public Method CheckAccess (Inherited from DispatcherObject.)
Public Method ChildElementFromPoint (Inherited from UIElement.)
Public Method ContainsPoint (Inherited from UIElement.)
Public Method Equals (Inherited from Object.)
Public Method GetDesiredSize (Inherited from UIElement.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetLayoutOffset (Inherited from UIElement.)
Public Method GetMargin (Inherited from UIElement.)
Public Method GetPointerTarget (Inherited from UIElement.)
Public Method GetRenderSize (Inherited from UIElement.)
Public Method GetType (Inherited from Object.)
Public Method GetUnclippedSize (Inherited from UIElement.)
Public Method Invalidate (Inherited from UIElement.)
Public Method InvalidateArrange (Inherited from UIElement.)
Public Method InvalidateMeasure (Inherited from UIElement.)
Public Method Measure (Inherited from UIElement.)
Public Method OnRender (Inherited from Control.)
Public Method PointToClient (Inherited from UIElement.)
Public Method PointToScreen (Inherited from UIElement.)
Public Method RaiseEvent (Inherited from UIElement.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ScrollIntoView Scrolls a specified item into view on a display device.
Public Method SetMargin (Inherited from UIElement.)
Public Method ToString (Inherited from Object.)
Public Method UpdateLayout (Inherited from UIElement.)
Public Method VerifyAccess (Inherited from DispatcherObject.)

Protected Methods

Name Description
Protected Method ArrangeOverride (Inherited from UIElement.)
Protected Method Finalize (Inherited from Object.)
Protected Method MeasureOverride (Inherited from ContentControl.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OnButtonDown Displays an event description whenever the user presses the Up button or the Down button.
Protected Method OnButtonUp (Inherited from UIElement.)
Protected Method OnChildDesiredSizeChanged (Inherited from UIElement.)
Protected Method OnGenericEvent (Inherited from UIElement.)
Protected Method OnGotFocus (Inherited from UIElement.)
Protected Method OnLostFocus (Inherited from UIElement.)
Protected Method OnPreviewButtonDown (Inherited from UIElement.)
Protected Method OnPreviewButtonUp (Inherited from UIElement.)
Protected Method OnStylusDown (Inherited from UIElement.)
Protected Method OnStylusMove (Inherited from UIElement.)
Protected Method OnStylusUp (Inherited from UIElement.)

Public Events

Name Description
Public Event IsEnabledChanged (Inherited from UIElement.)
Public Event IsVisibleChanged (Inherited from UIElement.)
Public Event ScrollChanged Occurs when a list is scrolled.
Public Event SelectionChanged Occurs each time a user selects a different item in a list box.
Public Event StylusDown (Inherited from UIElement.)
Public Event StylusMove (Inherited from UIElement.)
Public Event StylusUp (Inherited from UIElement.)

See Also

Reference

ListBox Class
Microsoft.SPOT.Presentation.Controls Namespace