Popups in Catel

Topics: Questions
Aug 3, 2012 at 5:42 PM

For the life of me I cannot figure out the "right" way to show a popup control using Catel in a Silverlight 5 application.  I have a search field and I want to show the search results in a floating Popup connected to the text field.

I see that Catel has extensions for anchoring a Popup on another control but I don't see how to "launch" one aside from defining it at a high level in your XAML and binding IsOpen to some sort of global dependency property.  That doesn't seem right.

Aug 4, 2012 at 6:25 AM

This is indeed hard to achieve in Silverlight. You might want to take a look at the source code of the PleaseWaitService, it does something similar. In the end you will end up in writing a custom IPopupService or something like that.