views:

25

answers:

0

I Have a user Control which Contains a ScrollPanel. And I want to bind the userControl's content property to the ScrollPanel.

So my xaml would look like:

<CustomControl>
    <StackPanel/>
</CustomControl>

and in my UserControl my ScrollPanel child is set to StackPanel.