Note that there are some explanatory texts on larger screens.

plurals
  1. POPivot Item do not vertical scroll
    text
    copied!<p>I have this pivot control that will be binded with some data:</p> <p>[EDIT] Here is my full xaml, i tried to put the Grid.Row definitions and still not working.</p> <pre><code>&lt;phone:PhoneApplicationPage x:Class="Horoscopo.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:DataContext="{d:DesignData SampleData/MainViewModelSampleData.xaml}" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" SupportedOrientations="Portrait" Orientation="Portrait" shell:SystemTray.IsVisible="True"&gt; &lt;!--Data context is set to sample data above and LayoutRoot contains the root grid where all other page content is placed--&gt; &lt;Grid x:Name="LayoutRoot"&gt; &lt;Grid.Background&gt; &lt;ImageBrush Stretch="None" ImageSource="/Assets/bg.jpg" AlignmentY="Top" AlignmentX="Center" /&gt; &lt;/Grid.Background&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="Auto" /&gt; &lt;RowDefinition Height="*" /&gt; &lt;/Grid.RowDefinitions&gt; &lt;phone:Pivot&gt; &lt;phone:Pivot.Title&gt; &lt;TextBlock Text="virgo" Style="{StaticResource PhoneTextNormalStyle}" Foreground="White"&gt;&lt;/TextBlock&gt; &lt;/phone:Pivot.Title&gt; &lt;phone:PivotItem &gt; &lt;phone:PivotItem.Header&gt; &lt;TextBlock Text="hoje" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"&gt; &lt;TextBlock.Foreground&gt; &lt;LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"&gt; &lt;GradientStop Color="Black" Offset="0" /&gt; &lt;GradientStop Color="#FFE9FF0B" Offset="1" /&gt; &lt;/LinearGradientBrush&gt; &lt;/TextBlock.Foreground&gt; &lt;/TextBlock&gt; &lt;/phone:PivotItem.Header&gt; &lt;!--ContentPanel contains LongListSelector and LongListSelector ItemTemplate. Place additional content here--&gt; &lt;ScrollViewer Grid.Row="1" Margin="12,0,12,0"&gt; &lt;Grid x:Name="ContentPanel"&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="*" /&gt; &lt;/Grid.RowDefinitions&gt; &lt;phone:LongListSelector x:Name="MainLongListSelector" Margin="0,0,-12,0" ItemsSource="{Binding Items}" SelectionChanged="MainLongListSelector_SelectionChanged"&gt; &lt;phone:LongListSelector.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;StackPanel Margin="0,0,0,17"&gt; &lt;TextBlock Text="{Binding LineOne}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}"&gt; &lt;TextBlock.Foreground&gt; &lt;LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"&gt; &lt;GradientStop Color="Black" Offset="0" /&gt; &lt;GradientStop Color="#FFE9FF0B" Offset="1" /&gt; &lt;/LinearGradientBrush&gt; &lt;/TextBlock.Foreground&gt; &lt;/TextBlock&gt; &lt;TextBlock x:Name="txtTexto" Text="{Binding LineTwo}" TextWrapping="Wrap" Margin="12,-6,12,0" Style="{StaticResource PhoneTextSubtleStyle}" Foreground="White" /&gt; &lt;/StackPanel&gt; &lt;/DataTemplate&gt; &lt;/phone:LongListSelector.ItemTemplate&gt; &lt;/phone:LongListSelector&gt; &lt;/Grid&gt; &lt;/ScrollViewer&gt; &lt;/phone:PivotItem&gt; &lt;phone:PivotItem&gt; &lt;phone:PivotItem.Header&gt; &lt;TextBlock Text="favorito" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"&gt; &lt;TextBlock.Foreground&gt; &lt;LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"&gt; &lt;GradientStop Color="Black" Offset="0" /&gt; &lt;GradientStop Color="#FFE9FF0B" Offset="1" /&gt; &lt;/LinearGradientBrush&gt; &lt;/TextBlock.Foreground&gt; &lt;/TextBlock&gt; &lt;/phone:PivotItem.Header&gt; &lt;!--ContentPanel contains LongListSelector and LongListSelector ItemTemplate. Place additional content here--&gt; &lt;ScrollViewer Grid.Row="1" Margin="12,0,12,0"&gt; &lt;Grid x:Name="ContentFavoritoPanel"&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="*" /&gt; &lt;/Grid.RowDefinitions&gt; &lt;phone:LongListSelector x:Name="FavoritoListSelector" Margin="0,0,-12,0" ItemsSource="{Binding Favoritos}" SelectionChanged="MainLongListSelector_SelectionChanged"&gt; &lt;phone:LongListSelector.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;StackPanel Margin="0,0,0,17"&gt; &lt;TextBlock Text="{Binding LineOne}" TextWrapping="Wrap" Style="{StaticResource PhoneTextExtraLargeStyle}"&gt; &lt;TextBlock.Foreground&gt; &lt;LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"&gt; &lt;GradientStop Color="Black" Offset="0" /&gt; &lt;GradientStop Color="#FFE9FF0B" Offset="1" /&gt; &lt;/LinearGradientBrush&gt; &lt;/TextBlock.Foreground&gt; &lt;/TextBlock&gt; &lt;TextBlock x:Name="txtTexto" Text="{Binding LineTwo}" TextWrapping="Wrap" Margin="12,-6,12,0" Style="{StaticResource PhoneTextSubtleStyle}" Foreground="White" /&gt; &lt;/StackPanel&gt; &lt;/DataTemplate&gt; &lt;/phone:LongListSelector.ItemTemplate&gt; &lt;/phone:LongListSelector&gt; &lt;/Grid&gt; &lt;/ScrollViewer&gt; &lt;/phone:PivotItem&gt; &lt;/phone:Pivot&gt; &lt;/Grid&gt; </code></pre> <p></p> <p>But the scrollviewer dont work, and i dont know why this happens.</p> <p>I tried the suggestions of this <a href="https://stackoverflow.com/questions/18886086/pivotitem-scrollviewer-cant-scroll-down">Thread</a>, but it didnt work. Anybody can help me?</p> <p>Thanks.</p>
 

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