Home / General / Changing Panels and DataTemplates with ItemsControls in WPF/Avalon
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Changing Panels and DataTemplates with ItemsControls in WPF/Avalon

I have posted before about the philosophy behind the ItemsControl, and now I will pull together some concepts from previous posts. I will use the RadialPanel and some ValueConverter magic to show how we can take a ListBox (the most famous of the ItemsControl family) and have it:



  • Respond to changes to a data collection.
  • Swap between using a radial and stacking panel.
  • Swap between showing the text of the items and showing the hash of the items.




One of the first things we need to do in order to build this sample is make a subclass of the RadialPanel that doe







Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites