Page 1 of 1

Juggling view of ListView when horizontal scrollbar is shown

Posted: 26 Dec 2017, 06:23
by nikobarli
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>

Re: Juggling view of ListView when horizontal scrollbar is shown

Posted: 28 Dec 2017, 11:54
by sfernandez
I was able to reproduce the problem, could you please create a report in our bugtracker?
Thanks.

Re: Juggling view of ListView when horizontal scrollbar is shown

Posted: 31 Dec 2017, 10:03
by nikobarli

Re: Juggling view of ListView when horizontal scrollbar is shown

Posted: 02 Jan 2018, 12:46
by sfernandez
Thanks.