In my application, I have a very strange scroll behavior: the bottom scroll bar changes its size randomly when scrolling. I use GridView with a lot of items (short code):
<GridView Margin="0,-3,0,0" Padding="116,0,40,46"> <GridView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel Orientation="Horizontal"/> </ItemsPanelTemplate> </GridView.ItemsPanel> <GridView.GroupStyle> <GroupStyle> <GroupStyle.HeaderTemplate> <DataTemplate> </DataTemplate> </GroupStyle.HeaderTemplate> <GroupStyle.Panel> <ItemsPanelTemplate> <VariableSizedWrapGrid ItemWidth="250" ItemHeight="250" Orientation="Vertical" Margin="0,0,80,0" MaximumRowsOrColumns="4"/> </ItemsPanelTemplate> </GroupStyle.Panel> </GroupStyle> </GridView.GroupStyle> </GridView>
I also found out that the behavior disappears if I remove the add-on. I can set paddings as fields, but then the scrollbar also has a margin that looks really ugly ...
How can i change this? - I noticed that some other applications have this problem ...
Thank you for your help!
source share