Silverlight 4 Drop-Down Problems in Popup

September 12, 2011 • Damien White

Are you running Silverlight and using a Popup and a “drop-down” control like a ComboBox (or DatePicker, TimePicker, etc) as a child? You may be seeing some odd behavior when you expand the ComboBox. The “drop-down bit” ends up positioned from the left of your screen, not where it is supposed to be positioned. Hmmm.

Turns out the solution is easy, but not easy to find. I’m hoping this post will help someone else out and prevent others from beating their heads against a wall. Ready?

Turn off the DropShadowEffect on the Popup.

This solution is thanks to Rjacobs’s reply on the Silverlight forums. Also, vote for the issue on the Microsoft Connect site.

Posted in .net, silverlight and tagged with Silverlight

Damien White

I am a software architect with over 16 years of experience. I simply love coding! I have a driving passion for computers and software development, and a thirst for knowledge that just cannot be quenched. I'm happy to share what I know in my quest to learn as much as possible. I focus most of my time on web development using Ruby on Rails, Ember.js, and ASP.NET MVC.

comments powered by Disqus