This project is read-only.

ElementFlow: OnApplyTemplate never gets called when inside a Popup

Nov 5, 2009 at 1:40 PM


first of all huge thanks to Pavan for making this brilliant library open source. One gets a good feeling of how to write advanced custom controls by looking at its source.

I'm relatively new to WPF and currently I'm having a problem which I can't find the root of.

Integrating ElementFlow into a window in my project works well, but if I put inside a Popup OnApplyTemplate never gets called and thus _modelContainer stays null. Do I have to take further action when embedding an ItemsControl with a Template inside a Popup?

Any hints are much appreciated!

Nov 9, 2009 at 12:58 PM

Has nobody ever experienced this and was able to fix it? Am I doing something wrong? I'm currently at a standstill with this.