Composite Application Block (CAB) ItemsControl vertical stretch

So we just started using the Composite Application Block for a Silverlight project. Greate stuff. But we quickly ran into an issue where we were unable to make a subview stretch to fill out its containing region. Turned out that a template containing a DockPanel needed to be added to the ItemsControl representing the region.

After lots of playing arround, I finally found the solution here:

Tags: , , , , , , ,

2 Responses to “Composite Application Block (CAB) ItemsControl vertical stretch”

  1. Krimson Says:

    Hi, do you have a sample of this, because even with the DockPanel I cant get my UserControl inside the ItemsControl to stretch to the full height of the ItemsControl.

  2. Krimson Says:

    Nevermind, I solved it as described here:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: