Freigeben über


Throbbing Items Control

Windows Presentation Foundation (WPF) provides a bunch of controls that are “data aware” – you can simply bind them against any data source – Xml, CLR class, etc.

I tried extending once such control - ItemsControl – which serves at the base class for controls that display a bunch of items – ListBox, TabControl, ComboBox, etc. – to add functionality that will allow N items to be displayed at a time, and then loop over the remaining items at a specified frequency. The cool part is that as far a designer is concerned, all the implementation is hidden – all the designer has to do is to use the control on the design surface of Interactive Designer, drag-n-drop data onto the control, and then worry about the presentation of data. In addition, one can specify the number of items to display at once and the refresh frequency.

Feel free to download the sample and use the control. Source available here.

Comments

  • Anonymous
    February 10, 2006
    To view a sample or tutorial, click on one of thumbnails or links below. Some samples also have supporting...

  • Anonymous
    March 30, 2006
    The comment has been removed

  • Anonymous
    March 30, 2007
    The comment has been removed

  • Anonymous
    May 13, 2007
    The comment has been removed

  • Anonymous
    June 19, 2007
    To view a sample or tutorial, click on one of thumbnails or links below. Some samples also have supporting

  • Anonymous
    October 02, 2007
    The comment has been removed

  • Anonymous
    July 07, 2009
    Replace the namespace declarations withe the new ones xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:c="http://schemas.openxmlformats.org/markup-compatibility/2006"

  • Anonymous
    July 07, 2009
    Replace the reference to FabrikamThrobbingItemsDemo with the new format: "clr-namespace:FabrikamThrobbingItemsDemo"