FloatableWindow resizes Grid in Silverlight

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-12T22:42:43Z Indexed on 2010/03/12 22:47 UTC
Read the original article Hit count: 840

Filed under:
|
|
|

I'm trying to use Tim Heuer's FloatableWindow control for a non-modal options window in my Silverlight application. However, I'm running into a problem with the FloatableWindow resizing it's parent grid when it opens. For example, before I open the window the application looks like this:

Screenshot of application before FloatableWindow is open

But after opening the window, the first row of the grid expands:

Screenshot of application after FloatableWindow is open

I'm currently setting FloatableWindow.ParentLayoutRoot to the LayoutRoot grid in MainPage.xaml. Is this the right thing to do? How can I prevent the grid from resizing when the FloatableWindow opens?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about dialog