--- a/src/FingersDance.Control.Menu/UserControlMenu.xaml Thu Nov 19 12:15:12 2009 +0100
+++ b/src/FingersDance.Control.Menu/UserControlMenu.xaml Thu Nov 19 15:35:46 2009 +0100
@@ -468,5 +468,11 @@
</Style>
</UserControl.Resources>
- <StackPanel x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="{x:Null}"/>
+ <StackPanel x:Name="MainLayoutRoot" Width="{Binding Path=Width, ElementName=UserControl, Mode=Default}" Height="{Binding Path=Height, ElementName=UserControl, Mode=Default}" Background="{x:Null}">
+ <Custom:SurfaceScrollViewer Height="{Binding Path=Height, ElementName=UserControl, Mode=Default}" x:Name="SscrollViewer" Width="{Binding Path=Width, ElementName=MainLayoutRoot, Mode=Default}">
+ <StackPanel x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="{x:Null}">
+ </StackPanel>
+ </Custom:SurfaceScrollViewer>
+ </StackPanel>
+
</UserControl>
\ No newline at end of file