Skip Navigation LinksHome / Search


Results Per Page

Found 4 results for DataTemplate.
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  Phil Middlemiss  on  Apr 26, 2010 (2 months 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  Phil Middlemiss  on  Apr 13, 2010 (2 months ago)
    Phil Middlemiss describes a technique to use multiple data templates inside an ItemsControl, DataGrid or other controls that show lists of items.

    For example, I may have a collection of company staff members to display in a single ListBox, but the managerial staff need to have extra information displayed (they always do!), and each level is styled slightly differently like this for example:
  • 0 comments  /  posted by  Silverlight Show  on  Mar 13, 2009 (more than a year ago)

    To illustrate the mechanics of Attached Behaviors, Karim Hernandez decided to implement a working RadioButtonGroup.

    I was recently asked by a customer, “Why doesn’t RadioButton.GroupName work when a single RadioButton is put in a DataTemplate within an ItemsControl?” I had no answer. When I tried it out myself, lo and behold, two checked RadioButtons were staring back at me. A quick search told me that others have encountered this issue, and none had found a solution based in markup.

  • Customizing the Silverlight 2 ItemsControl with Templates

    0 comments  /  posted by  Silverlight Show  on  Feb 16, 2009 (more than a year ago)
    Tags: Templates , ControlTemplate , DataTemplate , ItemsControl , ItemsPanel , ItemTemplate

    Peter McGrattan explores the ItemsControl using templates and the results he achieve really deserve your attention.

    Controls further down the inheritance hierarchy from ItemsControl tend to specialise it’s functionality by providing the ability to select or edit items in the list in slightly distinct ways. The items in an ItemsControl can be defined in Xaml or generated dynamically from the ItemsSource property in code.

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)