Hi! In my app I have a chat, I Create it with a ScrollView with an StackPanel with Alignment=“Bottom”. But the BringIntoView don`t work! If I remove the alignment work…
Here a example:
<App>
<ScrollView ux:Name="ScrollMensajes">
<StackPanel Alignment="Bottom" Margin="0,0,0,50">
<WhileTrue Bypass="Never" Value="True">
<BringIntoView TargetNode="Rect" Delay="1" />
</WhileTrue>
<Rectangle Background="Red" Height="400" Margin="10" />
<Rectangle Background="Red" Height="400" Margin="10" />
<Rectangle Background="Red" Height="400" Margin="10" />
<Rectangle Background="Blue" ux:Name="Rect" Height="400" Margin="10" />
<Rectangle Background="Red" Height="400" Margin="10" />
<Rectangle Background="Red" Height="400" Margin="10" />
<Rectangle Background="Red" Height="400" Margin="10" />
</StackPanel>
</ScrollView>
</App>
If you remove the Alignment="Bottom"
work as expected but I don’t have the chat scroll…
Any sugestion?