Skip Navigation LinksHome / Search


Results Per Page

Found 34 results for ListBox.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Feb 08, 2010 (4 months ago)

    This cool tutorial of Victor Gaudioso is about building a 3-column ListBox in Expression Blend.

    Well, the project I was working on was a Silverlight project, not a WPF project, and the current release of Silverlight does not contain a WrapPanel. So now my clever solution was not a solution at all. After a bit more research, I found that the Silverlight Toolkit does have a WrapPanel. So, I was able to use that to make a three column Silverlight ListBox. Today, I am going to show you how to use the Silverlight Toolkit WrapPanel to create a three column ListBox.

  • 0 comments  /  posted by  Silverlight Show  on  Feb 01, 2010 (4 months ago)

    In this short article, Suprotim Agarwal demonstrates how to populate a ListBox and AutoScroll to a given ListBox item.

  • 0 comments  /  posted by  Silverlight Show  on  Dec 03, 2009 (6 months ago)
    Vincent Leung explains how to add animation when items are added ,or removed from the list box. 

    A Simple Demo : The user types into the text box, clicks the add button and the text “floats” up into the list.

  • 3 comments  /  posted by  Silverlight Show  on  Nov 30, 2009 (6 months ago)

    In this tutorial Rob Houweling shows how to create a ListBox and make it possible to drop images from the desktop onto the application.

    First of all we’ll create a “normal” Silverlight 4 App + Website using Visual Studio 2010 or Expression Blend. Next we need a ListBox to show the images when they are dropped on it.

  • 0 comments  /  posted by  Silverlight Show  on  Nov 09, 2009 (7 months ago)
    In this short six minute tutorial Victor Gaudioso shows how to use the Silverlight Toolkit’s WrapPanel to create a Silverlight ListBox that displays three colums of data. 

    This feat is difficult in WPF but possible because of the WrapPanel.  Silverlight, however does not have a WrapPanel, that is until the Silverlight Toolkit came along! I show you how to replace the Silvelright ItemsPanel with the Toolkit’s WrapPanel and then tweak your ListBox so that it displays three colums of Data (ListBoxItems).

  • 0 comments  /  posted by  Silverlight Show  on  Nov 04, 2009 (7 months ago)

    In this post SmartyP demonstrates how to add programatic animations in Silverlight.

    At the Atlanta Silverlight Firestarter a few months ago myself and Mason Brown did a talk 'Lighting Up the UI'. At the end of the talk I ranted a bit trying to encourage developers to think outside of the box when approaching UI's in Silverlight - to be open to creative ways in tackling new UI challenges. (You can find more on this talk in these posts on

    The example I went over in my example was a simple example of how to move an item from one ListBox to another. Most developers would look at this task the same way - they would remove the item being moved from the 'from' ListBox, and they would add the item to the 'to' ListBox.

  • 0 comments  /  posted by  Silverlight Show  on  Oct 12, 2009 (8 months ago)
    Tags: Listbox , Scrolling , Silverlight 3
     Lee has a solution for the default behavior of the ListBox and presents a way to reset the scrollposition when the data changes.

    When the listbox is bound to some data and when the data changes we may want to make the first item in the list visible. That is not the default behaviour and ScrollIntoView(Item[0]) wont work. here is a way to reset the scrollposition.

  • 0 comments  /  posted by  Silverlight Show  on  Aug 26, 2009 (10 months ago)

    If you want to create a list of checkable items, this tutorial written by Matthias Shapiro will let you do it without any code.

    First, you should know right off the bat that this tutorial is for Silverlight 3 only. It uses a data binding functionality called RelativeSource binding that isn’t available in earlier versions of Silverlight.

  • What’s New In Silverlight 3 - Multi-Select List Box

    0 comments  /  posted by  Silverlight Show  on  Jul 23, 2009 (11 months ago)

    In this next post on the new features of Silverlight 3 Jesse Liberty talks about the Multi-Select List Box and shows a working example of it.

    In Silverlight 3 the standard ListBox now has a SelectionMode property which is filled from an enumerated constant whose possible values are

        •    Single
        •    Multiple
        •    Extended

    Creating and using a multi-select list box requires only setting the property and retrieving the values. In the following example we create a multi-select list box, a button to indicate that our selection is complete, and a TextBlock to display the retrieved values.

  • Countdown to Silverlight 3 Part 15: UI Virtualization

    0 comments  /  posted by  Silverlight Show  on  Jul 16, 2009 (11 months ago)
    Tags: ListBox , Ul Virtualization , StackPanel , VirtualizingStackPanel

    In this post Andrej Tozon explains about a new type of a StackPanel included in Silverlight 3, called VirtualizingStackPanel.  VirtualizingStackPanel enables UI virtualization and is now the default items panel for the ListBox, with virtualization option enabled.

    If you want to turn UI virtualization in ListBox to off, set its VirtualizingStackPanel.VirtualizationMode to Standard (the default is Recycling). The embedded VirtualizingStackPanel will in this case behave as a plain old StackPanel.

    Other controls that VirtualizingStackPanel can be used with are ItemsControl and ListView. It can’t be used on its own (like you would put in on a page and manually cram it with a couple thousand of items as you would with ordinary StackPanel), but the interesting thing is it is derived from an abstract class called VirtualizingPanel, which means the ability to create new kinds of virtualizing panels.

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)