The Listbox type exposes the following members.

Constructors

Methods

  NameDescription
Public methodActivate
Activates the control
(Inherited from Control.)
Public methodAddItem
Public methodAddItems
Public methodBlur
Deactivates the control
(Inherited from Control.)
Protected methodButtonPressedMessage (Overrides Control..::..ButtonPressedMessage(Int32, Boolean%).)
Protected methodButtonReleasedMessage (Overrides Control..::..ButtonReleasedMessage(Int32, Boolean%).)
Public methodClearItems
Public methodDispose
Disposes the control
(Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHitTest
Checks if a point is inside of the control
(Inherited from Control.)
Public methodInvalidate()()()()
Safely redraws control
(Inherited from Control.)
Public methodInvalidate(rect)
Safely redraws control
(Inherited from Control.)
Protected methodKeyboardAltKeyMessage (Overrides Control..::..KeyboardAltKeyMessage(Int32, Boolean, Boolean%).)
Protected methodKeyboardKeyMessage
Override this message to handle key events internally.
(Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnButtonPressed
Fires the ButtonPressed event
(Inherited from Control.)
Protected methodOnButtonReleased
Fires the ButtonReleased event
(Inherited from Control.)
Protected methodOnDoubleTap
Fires the DoubleTap event
(Inherited from Control.)
Protected methodOnGotFocus
Fires the GotFocus event
(Inherited from Control.)
Protected methodOnItemSelected
Protected methodOnKeyboardAltKey
Fires the KeyboardAltKey event
(Inherited from Control.)
Protected methodOnKeyboardKey
Fires the KeyboardKey event
(Inherited from Control.)
Protected methodOnLostFocus
Fires the LostFocus event
(Inherited from Control.)
Protected methodOnRender (Overrides ScrollableControl..::..OnRender(Int32, Int32, Int32, Int32).)
Protected methodOnSelectedIndexChanged
Public methodOnTap
Fires the Tap event
(Inherited from Control.)
Public methodOnTapHold
Fires the TapHold event
(Inherited from Control.)
Public methodOnTouchDown
Fires the TouchDown event
(Inherited from Control.)
Public methodOnTouchGesture
Fires the TouchGesture event
(Inherited from Control.)
Public methodOnTouchMove
Fires the TouchMove event
(Inherited from Control.)
Public methodOnTouchUp
Fires the TouchUp event
(Inherited from Control.)
Public methodRemoveItem
Public methodRemoveItemAt
Public methodRender
Unsafely renders control
(Inherited from Control.)
Public methodSendButtonEvent
Directly inform control of button events
(Inherited from Control.)
Public methodSendKeyboardAltKeyEvent
Directly inform control of keyboard alt key events
(Inherited from Control.)
Public methodSendKeyboardKeyEvent
Directly inform control of keyboard key events
(Inherited from Control.)
Public methodSendTouchDown
Directly inform control of touch down event
(Inherited from Control.)
Public methodSendTouchGesture
Directly inform control of touch gesture event
(Inherited from Control.)
Public methodSendTouchMove
Directly inform control of touch move event
(Inherited from Control.)
Public methodSendTouchUp
Directly inform control of touch up event
(Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTouchDownMessage (Overrides Control..::..TouchDownMessage(Object, point, Boolean%).)
Protected methodTouchGestureMessage (Overrides Control..::..TouchGestureMessage(Object, TouchType, Single, Boolean%).)
Protected methodTouchMoveMessage
Override this message to handle touch events internally.
(Inherited from ScrollableControl.)
Protected methodTouchUpMessage (Overrides ScrollableControl..::..TouchUpMessage(Object, point, Boolean%).)
Public methodUpdateOffsets()()()()
Update the X/Y position offset of the control
(Inherited from Control.)
Public methodUpdateOffsets(point)
Update the X/Y position offset of the control
(Inherited from Control.)
Protected methodUpdateScrollbar
Updates the visibility state of the scrollbars
(Inherited from ScrollableControl.)

Properties

  NameDescription
Public propertyBackColor
Public propertyCanFocus
Gets the controls ability to receive focus
(Inherited from Control.)
Public propertyDisplayCheckboxes
Public propertyDisplayImages
Public propertyDisposing
Gets the disposing state of the control
(Inherited from Control.)
Public propertyEnabled
Gets/Sets the enabled state of the control
(Inherited from Control.)
Public propertyFocused
Gets if the control is currently focused
(Inherited from Control.)
Public propertyFont
Public propertyHeight
Gets/Sets the height of the control in pixels
(Inherited from Control.)
Public propertyImageSize
Protected propertyInternalSuspended
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.)
Public propertyItems
Public propertyLastTouch
Gets the coordinates of the last point touched
(Inherited from Control.)
Public propertyLeft
Gets the absolute X position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyLocation
Gets or sets the location of the control
(Inherited from Control.)
Public propertyMaxScrollX
Gets/Sets maximum X scroll value
(Inherited from ScrollableControl.)
Public propertyMaxScrollY
Gets/Sets maximum Y scroll value
(Inherited from ScrollableControl.)
Public propertyMinimumLineHeight
Public propertyName
Gets the name of the control
(Inherited from Control.)
Public propertyParent
Gets/Sets the control's container
(Inherited from Control.)
Protected propertyRequiredHeight
Gets/Sets the maximum required height
(Inherited from ScrollableControl.)
Protected propertyRequiredWidth
Gets/Sets the maximum required width
(Inherited from ScrollableControl.)
Public propertyScreenBounds
Gets the exact location of the control in pixels on the screen
(Inherited from Control.)
Public propertyScrolling
Gets current scroll state
(Inherited from ScrollableControl.)
Public propertyScrollX
Gets/Sets current X scroll value
(Inherited from ScrollableControl.)
Public propertyScrollY
Gets/Sets current Y scroll value
(Inherited from ScrollableControl.)
Public propertySelectedBackColor
Public propertySelectedIndex
Public propertySelectedItem
Public propertySelectedTextColor
Public propertySuspended
Gets/Sets the suspended state
(Inherited from Control.)
Public propertyTag
Gets or sets a user defined tag for the control
(Inherited from Control.)
Public propertyTextColor
Public propertyTop
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyTouching
Gets the current touch state of the control
(Inherited from Control.)
Public propertyVisible
Gets/Sets the visibility of the control
(Inherited from Control.)
Public propertyWidth
Gets/Sets the width of the control in pixels
(Inherited from Control.)
Public propertyX
Gets/Sets the X position in pixels
(Inherited from Control.)
Public propertyY
Gets/Sets the Y position in pixels
(Inherited from Control.)
Public propertyZebraStripe
Public propertyZebraStripeColor

Events

  NameDescription
Public eventButtonPressed
Adds or removes callback methods for ButtonPressed events
(Inherited from Control.)
Public eventButtonReleased
Adds or removes callback methods for ButtonReleased events
(Inherited from Control.)
Public eventDoubleTap
Adds or removes callback methods for DoubleTap events
(Inherited from Control.)
Public eventGotFocus
Adds or removes callback methods for GotFocus events
(Inherited from Control.)
Public eventItemSelected
Public eventKeyboardAltKey
Adds or removes callback methods for KeyboardAltKey events
(Inherited from Control.)
Public eventKeyboardKey
Adds or removes callback methods for KeyboardKey events
(Inherited from Control.)
Public eventLostFocus
Adds or removes callback methods for LostFocus events
(Inherited from Control.)
Public eventSelectedIndexChanged
Public eventTap
Adds or removes callback methods for Tap events
(Inherited from Control.)
Public eventTapHold
Adds or removes callback methods for TapHold events
(Inherited from Control.)
Public eventTouchDown
Adds or removes callback methods for TouchDown events
(Inherited from Control.)
Public eventTouchGesture
Adds or removes callback methods for TouchGesture events
(Inherited from Control.)
Public eventTouchMove
Adds or removes callback methods for TouchMove events
(Inherited from Control.)
Public eventTouchUp
Adds or removes callback methods for TouchUp events
(Inherited from Control.)

See Also