Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You could use a <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.scrollviewer.aspx" rel="nofollow noreferrer">ScrollViewer</a>:</p> <pre><code>&lt;ScrollViewer&gt; &lt;Grid&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="800"&gt;&lt;/RowDefinition&gt; &lt;RowDefinition Height="Auto"&gt;&lt;/RowDefinition&gt; &lt;/Grid.RowDefinitions&gt; &lt;ListBox Grid.Row="0"&gt; &lt;/ListBox&gt; &lt;Button Grid.Row="1" Height="30" Content="Test"&gt;&lt;/Button&gt; &lt;/Grid&gt; &lt;/ScrollViewer&gt; </code></pre> <p>Simply divide the <strong>Grid</strong> inside into two rows, the second one being for the <strong>Button</strong>.</p> <p>For your specific case it would be:</p> <pre><code>&lt;Grid x:Name="ContentGrid" Grid.Row="2"&gt; &lt;ScrollViewer&gt; &lt;Grid&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="600"&gt;&lt;/RowDefinition&gt; &lt;RowDefinition Height="Auto"&gt;&lt;/RowDefinition&gt; &lt;/Grid.RowDefinitions&gt; &lt;ListBox x:Name="LBoxItems" HorizontalAlignment="Left" Margin="24, 0" SelectionChanged="LBoxItems_SelectionChanged" Grid.Row="0"&gt; &lt;ListBox.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;StackPanel Margin="{StaticResource PhoneTouchTargetOverhang}" &gt; &lt;TextBlock FontSize="{StaticResource PhoneFontSizeMediumLarge}" FontFamily="{StaticResource PhoneFontFamilySemiBold}" Foreground="{StaticResource PhoneAccentBrush}" Text="{Binding Title.Text}" TextWrapping="Wrap" Margin="-4,20,0,0"&gt; &lt;/TextBlock&gt; &lt;TextBlock Text="{Binding PublishDate, Converter={StaticResource ItemPublishDateConverter}}" /&gt; &lt;/StackPanel&gt; &lt;/DataTemplate&gt; &lt;/ListBox.ItemTemplate&gt; &lt;/ListBox&gt; &lt;Button Content="Sample" Height="30" Grid.Row="1" /&gt; &lt;/Grid&gt; &lt;/ScrollViewer&gt; &lt;/Grid&gt; </code></pre> <p>Of course, you can set the appropriate height depending on your situation.</p>
    singulars
    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