nikobarli
Topic Author
Posts: 180
Joined: 26 Apr 2017, 06:23

Juggling view of ListView when horizontal scrollbar is shown

26 Dec 2017, 06:23

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.
<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>
 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Juggling view of ListView when horizontal scrollbar is shown

28 Dec 2017, 11:54

I was able to reproduce the problem, could you please create a report in our bugtracker?
Thanks.
 
nikobarli
Topic Author
Posts: 180
Joined: 26 Apr 2017, 06:23

Re: Juggling view of ListView when horizontal scrollbar is shown

31 Dec 2017, 10:03

 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Juggling view of ListView when horizontal scrollbar is shown

02 Jan 2018, 12:46

Thanks.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 25 guests