Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 2 results for DataTemplates.
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  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.



  • Using DataTemplates in Custom Controls

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

    Chris Klug responds to a forum question about using templates in a custom control.

    That sounds like a pretty simple request. There has to be lots of information available about this…well…not really apparently. In general I would recommend reflectoring it, but in this case I felt it was better to explain. So here we go…


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)