Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

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

Page 
Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  May 26, 2010 (2 weeks ago)
    This is one very cool article in which Phil Middlemiss explains how to simulate backlighting on a selected list box item.

    The challenging bit was getting the selected item in the list box to cast a glow on the things around it. The glow seems to escape the list box itself. The reason this wasn't straight forward is that the ListBox control clips its content to keep everything inside the scrollable area. My first instinct was just to set negative margins on something inside the ListBoxItem's template (ItemContainerStyle), but that's when it became obvious that it was being clipped.



  • 0 comments  /  posted by  Silverlight Show  on  May 19, 2010 (3 weeks ago)
    In this very detailed post, Kunal Chowdhury talks about drag-and-drop within and between ListBox controls.

    In this article, I am going to discuss with you regarding the Drag and Drop functionality inside a Silverlight ListBox control. This article will also cover the Drag and Drop operation between two ListBox control. We will use here the Silvelright 4 Toolkit to implement the feature. 

  • 0 comments  /  posted by  Silverlight Show  on  May 10, 2010 (1 month ago)
    Alan Beasley is ready with part 3 of his ListBox styling tutorial in Expression Blend.

    Welcome to my 7th Beginners tutorial for Expression Blend & Silverlight.

    This time we will be looking at Styling the Generated Content of a ListBox via the Additional Templates, & I will do my best to guide you through this.

  • 0 comments  /  posted by  Phil Middlemiss  on  Apr 26, 2010 (1 month ago)
    Phil Middlemiss has posted the fourth tutorial in his series on creating a Glass and Chrome theme in Blend.

    ImageApart from describing the steps to style each of the controls for this particular theme, I've been trying to describe some of the techniques and knowledge that can be applied generally to any theme or style.


    • In part 1 we covered creating style resources in a resource dictionary.
    • In part 2 we covered editing control templates as part of a style, including states.
    • In part 3 we knocked off a couple of the easier controls to style, although we added some extra elements to the control template.

    In this post, we are going to dig down into a control that is made up of a collection of other controls: the ListBox. But we are going to begin by styling the other controls that make up the ListBox.

  • 0 comments  /  posted by  Silverlight Show  on  Apr 22, 2010 (1 month ago)
    Here is part two of Alan Beasley tutorial about ListBox styling in Blend.

    ImageHow to Style the Control Template of a ListBox in a small MVVM application. Discussing multiple Styles, nested Controls, Resource Dictionaries, Similar Control Templates (TreeView), Control Reuse & a few other tips...

  • 0 comments  /  posted by  Silverlight Show  on  Apr 20, 2010 (1 month ago)
    Tags: Listbox , WPF , Tips , Pete Brown
    If you have problems with fitting items into a Listbox in Silverlight or WPF, take a look at this solution provided by Pete Brown.

    One layout issue many folks run into in WPF and Silverlight is the problem of ListBox content not automatically sizing to the width of the ListBox.

  • 0 comments  /  posted by  Silverlight Show  on  Mar 30, 2010 (2 months ago)
    In this article written for the Visual Studio Magazine, Kathleen Dollard shows how to display a list of complex bound criteria, including data, child data and photos for each item, in Silverlight.

    Q: In Silverlight I want to display a list of complex bound criteria, which includes data, child data and photos for each item. The requirement is for the list to be displayed horizontally with only one item displayed at a time. Is this possible?

    A: There are at least two approaches to solving this: a ListBox and a DataForm. In Silverlight 3, I wasn't able to scroll the ListBox incrementally, resulting in partially displayed items. In some cases this might be desirable, but the DataForm offers a clean incremental scroll. Figure 1 shows the DataForm solution. Both approaches use a DataTemplate that allows reuse of control layouts.

  • 0 comments  /  posted by  Silverlight Show  on  Mar 19, 2010 (2 months ago)
    David Anson demonstrates how to simply and flexibly create a grouped list of items by using IValueConverter.

    A customer recently asked how to implement a simple "grouped ListBox" experience in Silverlight (now available in desktop, mobile, and extra crispy flavor!), so I dashed off this sample to show one way that's pretty easy to work with.

  • 0 comments  /  posted by  Silverlight Show  on  Feb 09, 2010 (4 months ago)
    Tags: Listbox , ComboBox
    Fons Sonnemans demonstrates a behavior that allows keyboard selection on a ListBox or ComboBox.

    Silverlight doesn't support keyboard selection on a ListBox or Combox. I have created a small Behavior which fixes this problem. You can attach the KeyboardSelectionBehavior to a ListBox or ComboBox using Microsoft Expression Blend. You drag it from the Assets and drop it on your ComboBox or ListBox. If you have a custom ItemTemplate you will have to set the SelectionMemberPath property.

  • 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.


Page 
Help us make SilverlightShow even better and win a free t-shirt. 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 a 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)