locked
custom drop down list RRS feed

  • Question

  • Hi, I am trying to make a "custom drop down list" control. My inherits from ItemsControl class. I created a method Reduce() and Open() to open and close my drop down list. As I would like that reduce and open process be animated, I would need to recover the element chosen to contain my items (elements chosen in override method GetContainerForItemOverride()) in reduce() and open() methods... Until now, i just check that items are framework elements and animate them directly. So this drop down list works only when items are framework element, but when i try to introduce dataTemplate in my control.... Is somebody have any solution for that? Maybe the way I am trying to do this is wrong. Thanks in advance
    Wednesday, February 4, 2009 4:56 AM

Answers