views:

218

answers:

1

I'm new to Silverlight and I'm trying to get the WrapPanel sample working with the Navigation project template. My issue is that the WrapPanel doesn't wrap.

Here's what I've tried:
Create a new Navigation based project.
Copy the code from the Toolkit Samples for the "Select a Color" demo.

When I create a "regular" Silverlight application the WrapPanel does wrap as expected.

Any ideas on what I might be missing with the Navigation based project?

A: 

Is your WrapPanel grouped into a StackPanel? In case your WrapPanel is located inside a StackPanel, it will never wrap.

xamlgeek