How can I set scrolling to be pixel based when scrolling vertically like when scrolling horizontally?
Thanks,
Mike
Hi Mike,
After researching your requirements I'm not sure I understand what you mean when you say scrolling horizontally is pixel based. When scrolling in the XamTileManager, the scrollbar moves the required amount in order to keep the panes from ever being partially clipped by the edges of the control. You'll also notice how the panes will resize themselves in order to best make use of the available space. This behavior applies to both the vertical and horizontal scrollbar and as such the scrolling is not pixel based on either side.
For example, if I have the vertical scrollbar available, and I click on the scrollbar's increment button on the bottom the tile manager will shift all the tiles up how ever many pixels required until the next tile on the bottom comes into view.
Are you seeing different behavior for horizontal scrolling?
Hi Rob,
Saying pixel based was just my way of trying to express situation.
When I scroll horizontally, it's smooth and I can see parts of the window as I move the scroll bar back and forth.
When I scroll vertically using the scrollbar, it jumps. If I scroll vertically using my mouse trackbar, just barely touching it, it jumps to the bottom. It is a visually jarring experience for our customers and they loose track of where they are and don't like it. They would like vertical scrolling to be just as smooth as horizontal scrolling.
Also, when scrolling vertically, when clicking on the increment button (the down arrow) instead of smooth scrolling, it jumps to the next row.
Hopefully I've been clear.
I understand what you're saying. Can you run my attached sample and let me know if this is what you are seeing? When you run the sample make sure to maximize one of the tiles so the vertical scrolling appears. If this isn't what you are seeing can you provide the XAML or code you use to setup the XamTileManager?
From the sounds of it, you might have animations disabled on vertical scrolling. This might be why the scrolling jumps to the next tile. This would be under XamTileManager.MaximizedModeSettings.ShouldAnimate.
Hi, sorry to dig out an old post, but I am still facing the same issue as the original poster.
Proposed solution do not seem to solve the issue. Turning animation just making the row change a bit smoother cause done via animation. What original poster and I are talking about is different. If you have a tile which is bigger than the XamTileManager displayed area, we would like to be able to scroll (what has been called pixel based) to seethe bottom of the tile which are bigger than the display area .. and then see items below afterwards.
It is quite easy to reproduce : take a XamTileManager with HorizontalVariablelayout, have a tile bigger than the display area (can be set using the preferred size of the tile constaint).
Here are my settings
<ig:XamTileManager.NormalModeSettings> <ig:NormalModeSettings TileLayoutOrder="HorizontalVariable" AllowTileDragging="Swap" AllowTileSizing="No" ShouldAnimate="False"> <ig:NormalModeSettings.TileConstraints> <ig:TileConstraints MinWidth="470" PreferredWidth="470" VerticalAlignment="Top"/> </ig:NormalModeSettings.TileConstraints> </ig:NormalModeSettings> </ig:XamTileManager.NormalModeSettings>
and here my tile manager
<ig:XamTileManager x:Name="XamTileManager" Grid.Column="0" HeaderPath="DisplayName" Margin="0" InterTileSpacingX="5" InterTileSpacingY="5" TileCloseAction="RemoveItem" ItemsSource="{Binding Path=DocumentList}" Background="Transparent" BorderBrush="Transparent" KeyboardNavigation.IsTabStop="False" FocusManager.IsFocusScope="False" FocusVisualStyle="{x:Null}" >
I hope it is clearer now.
Thanks in advance for your quick feedback.
Do you still require assistance on this issue?