Silverlight Scrollable Content Problem

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2009-12-07T10:32:56Z Indexed on 2010/04/29 5:07 UTC
Read the original article Hit count: 320

Filed under:
|

I am fairy new to Silverlight and I have a problem.

I have a grid on a page that is resizable when the user resizes their browser window. In one of the grids columns I want to display dynamically added content that is scrollable, as there is more data than space available. I currently have a scrollViewer with a stack panel inside it, that i programmatically add a user control to and then several user controls to that control depending on the amount of content.

My problem is this. The scrollViewer does not respect the available space and as such displays its content outside of the viewable area when there is more data than space. i.e. it does not uses it is not scrollable nature.

Hopefully this is something simple that I have missed, but i am banging my head against the wall at the moment. Any help gratefully received.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about c#