WP7 ScrollViewer Bug When Content Height> 2000px
No meu projeto, eu uso o ScrollViewer para mostrar algumas informações de altura long
Eu uso assim:
<Grid Grid.Row="1" Height="630">
<ScrollViewer Background="Red" Grid.Row="1">
<Grid>
<Rectangle Height="3000" Fill="LightBlue" Width="440"/>
</Grid>
</ScrollViewer>
</Grid>
Mas, infelizmente, o retângulo não aparece completamente quando a altura vertical da barra de scrollView é> 2000.
Testei sem o Grid como conteúdo do ScrollViewer, apenas com Rectangle, o resultado é o mesm
E o bug também acontece com a Width.
Você tem alguma idéia de qual é a solução alternativa? Como lidar com isso
Esteposta é o mesmo problema sem nenhuma correçã
Agradeço antecipadamente! -Jimmy
O teste completo do xaml é:
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<Grid Grid.Row="1" Height="630">
<ScrollViewer Background="Red" Grid.Row="1">
<Grid>
<Rectangle Height="3000" Fill="LightBlue" Width="440"/>
</Grid>
</ScrollViewer>
</Grid>
</Grid>