Capro22340

Capro22340


  • Name: [not set]
  • Favorite Languages: C#, XAML
  • Website: [not set]
  • Location: Redmond, WA
  • About Me: [not set]

Recent Comments

  • WPF Tutorial - Creating A Custom Panel Control
    09/22/2010 - 15:56

    Thanks for posting this example, it really helps me understand how to extend Panel. I'm running into one issue though. When I re-sort the collection that is being displayed, all of the children animate from the top-left to their new positions, rather than from their old positions to their new positions.

    I've tried creating a Dictionary in the AnimatedWrapPanel that stores the "old" positions, using "child" as the key, however it appears that when the collection is resorted the children are all cleared and created new, which means the "child" elements I was using as my keys are no longer == to the actual child elements.