I have a tile by using TileFromItem. Calling ScrollIntoView on that tile does nothing at all.
I am binding the tileControl to a list of Objects so the Tile is created for the item once its added to the list. The tile for the new item does exist at this point. I've done an UpdateLayout() before I make the ScrollIntoView call.
Is there any other way to simply say, put the scrollbar at the TOP. I don't even need to scroll anywhere specific. Just reset it. This is very frustrating.
Matthew,
The simpliest way to scroll the tile into view is to call ScrollIntoView method of XamTileControl passing the tile object that should be in view. Let me know if you have any questions.
Thank you,Sam
There is something buggy about Scrolling in your XamTilesControl.
I made a static set of tiles and i made a button that does ScrollIntoView on the Tile, because theres no objects now and it doesn't work. When I don't have a list of objects, only static tiles, what should I do?
I gave the static tile a name to reference and did .BringIntoView and this works occasionally but most of the time the scroll bar moves but the tiles don't.
When Binding to a list of dynamic objects neither method works. I can get the TileFromItem and do .BringIntoView on the tile object. Nothing. I do ScrollIntoView on sending the actual object... nothing...
A huge complaint from my client is that when a new tile is added they want the container to scroll up to the top where it is located. I cannot get your tool to allow me to scroll it programatically, only manually.
I'm using 10.1.20101.1000
This is not Matthew, but Cody.
Edit: I created a blank tilesControl with none of the styling I had done or the NormalMode constraints or binding and ScrollIntoView works. Where is there documentation as to why certain features and constrains and which features and constrains, most importantly, effect this?
Still looking for some details here. Sometimes it works sometimes it doesn't. What settings, stylings, etc should I avoid? I managed to get it to work on a tiles control that I'm binding objects to, but now the one I've got static XAML defined Tiles in will not.
Quick tidbit... the tilesControls's that work animate on load, even when using static tiles, and the ones that don't just have the tiles there, no animation. If that makes any sense.