Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try out this XAML code. It uses two <code>ScrollViewer</code> and works for me...</p> <pre><code>&lt;phone:PhoneApplicationPage x:Class="SamplePhoneApp.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" SupportedOrientations="Portrait" Orientation="Portrait" shell:SystemTray.IsVisible="True"&gt; &lt;ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Disabled"&gt; &lt;Grid x:Name="LayoutRoot" Background="Transparent"&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="Auto"/&gt; &lt;RowDefinition Height="Auto"/&gt; &lt;RowDefinition Height="Auto"/&gt; &lt;RowDefinition Height="Auto"/&gt; &lt;RowDefinition Height="Auto"/&gt; &lt;/Grid.RowDefinitions&gt; &lt;Grid.ColumnDefinitions&gt; &lt;ColumnDefinition Width="200" /&gt; &lt;ColumnDefinition Width="*" /&gt; &lt;/Grid.ColumnDefinitions&gt; &lt;Border Grid.Column="0" Grid.Row="0" Height="200" Background="DarkSeaGreen"&gt; &lt;TextBlock Text="1." Height="200" /&gt; &lt;/Border&gt; &lt;Border Grid.Column="0" Grid.Row="1" Height="200" Background="Magenta"&gt; &lt;TextBlock Text="2." Height="200" /&gt; &lt;/Border&gt; &lt;Border Grid.Column="0" Grid.Row="2" Height="200" Background="Bisque"&gt; &lt;TextBlock Text="3." Height="200" /&gt; &lt;/Border&gt; &lt;Border Grid.Column="0" Grid.Row="3" Height="200" Background="BurlyWood"&gt; &lt;TextBlock Text="4." Height="200" /&gt; &lt;/Border&gt; &lt;Border Grid.Column="0" Grid.Row="4" Height="200" Background="CadetBlue"&gt; &lt;TextBlock Text="5." Height="200" /&gt; &lt;/Border&gt; &lt;ScrollViewer Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Visible"&gt; &lt;StackPanel&gt; &lt;StackPanel Height="200" Orientation="Horizontal"&gt; &lt;Border Height="200" Width="300" Background="Red"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="150" Background="Aqua"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="250" Background="Cornsilk"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;/StackPanel&gt; &lt;StackPanel Height="200" Orientation="Horizontal"&gt; &lt;Border Height="200" Width="140" Background="DarkCyan"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="300" Background="CornflowerBlue"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="190" Background="DarkOrange"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;/StackPanel&gt; &lt;StackPanel Height="200" Orientation="Horizontal"&gt; &lt;Border Height="200" Width="200" Background="Red"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="250" Background="Aqua"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="250" Background="Cornsilk"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;/StackPanel&gt; &lt;StackPanel Height="200" Orientation="Horizontal"&gt; &lt;Border Height="200" Width="140" Background="DarkCyan"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="400" Background="CornflowerBlue"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="190" Background="DarkOrange"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;/StackPanel&gt; &lt;StackPanel Height="200" Orientation="Horizontal"&gt; &lt;Border Height="200" Width="200" Background="Red"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="150" Background="Aqua"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;Border Height="200" Width="300" Background="Cornsilk"&gt; &lt;TextBlock Text="abc" /&gt; &lt;/Border&gt; &lt;/StackPanel&gt; &lt;/StackPanel&gt; &lt;/ScrollViewer&gt; &lt;/Grid&gt; &lt;/ScrollViewer&gt; &lt;/phone:PhoneApplicationPage&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload