Welcome, Guest  :: Login 

EntrySet.Lists Namespace

ListBox Component

The ListBox control displays a list of items from which you can make a selection. You can select one or more than one of the items from the list.

The image below displays a ListBox. 

 

 

ListBox Anatomy 

The following picture shows the individual parts of the ListBox control. 


  Item
  Alternating Style
  ListBox Background
  Selected Item
 


 Item

Items are added to the Items collection as a text string. 

 Alternating Style

For a higher lucidity odd and even items can be painted with alternate style. It can be defined in the ListStyle. This option must be turned on with the ShowAlternateItems property.

 ListBox Background

The ListBox background appearance including BackColor, FadeColor, FillStyle and Shape can be modified in BackgroundStyle.

 Selected Item

Currently selected item has its own style defined in ListStyle.