Recuperation Scroll Bar
authorARIAS Santiago
Thu, 19 Nov 2009 15:32:13 +0100
changeset 212 bbac5d25dbb2
parent 210 574041f3b2c9
child 213 110067a19ec8
Recuperation Scroll Bar
src/FingersDance.Control.Menu/UserControlMenu.xaml
--- a/src/FingersDance.Control.Menu/UserControlMenu.xaml	Thu Nov 19 09:29:15 2009 +0100
+++ b/src/FingersDance.Control.Menu/UserControlMenu.xaml	Thu Nov 19 15:32:13 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