Juggling view of ListView when horizontal scrollbar is shown
Please feed the following XAML to XamlPlayer. Then click the 'Font' header of the shown ListView. You'll see that the view is juggling left <-> right.
This doesn't happen if the horizontal scrollbar is not shown.
This doesn't happen if the horizontal scrollbar is not shown.
Code: Select all
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid>
<ListView>
<ListView.View>
<GridView>
<GridViewColumn Header="Text" Width="200" DisplayMemberBinding="{Binding Text}"/>
<GridViewColumn Header="Font" Width="230" DisplayMemberBinding="{Binding FontFamily}"/>
</GridView>
</ListView.View>
<ListView.Items>
<TextBlock Text="First"/>
<TextBlock Text="Second"/>
<TextBlock Text="Third"/>
</ListView.Items>
</ListView>
</Grid>
</UserControl>
-
sfernandez
Site Admin
- Posts: 2991
- Joined:
Re: Juggling view of ListView when horizontal scrollbar is shown
I was able to reproduce the problem, could you please create a report in our bugtracker?
Thanks.
Thanks.
-
sfernandez
Site Admin
- Posts: 2991
- Joined:
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 25 guests