Hi there...
My question is about the UseExplicitRowColumnOnTile is regarding a specific scenario that my end user may encounter. Here are the steps:
1. No existing layout to load when the user first runs the app.
2. The tiles are databinded to an ObservableCollection and dynamically added at runtime.
3. On this first pass, I need the tiles to be placed arbitrarily in rows/columns BUT have the TileLayoutOrder set to Explicit.
4. User will move/arrange/resize the tiles once they are loaded arbitrarily to specific positions with the behavior like the Explicit Tile Layout sample.
5. Layout will be auto-saved upon exiting using the Save/Load functionality built in to the tile control.
Where I am running into trouble is in step 3. I tried creating a Style for the Tiles to use that default behavior when you set the row and column = -1 and the rowspan and columnspan = 0. What I ended up with was one long row of tiles that could not be repositioned from that first row, eventhough my MaxColumns is set to 3?
Ideally, maybe I would bind those values to something in a layout.xml file for each item in the tile control that is filling the tile? Although I'm not sure it would be necessary once the user has set up their tiles as they want them.
The other piece to this is that they will also add additional tiles or more likely tiles to a blank tile control, so where they are placed initially will be important as they add items to the collection the tile control is bound to.
The other part I'm having trouble with is step 4. Once the tiles are there on the same row, they can't be dragged down to form a 2nd or 3rd row. My MaxColumn=3 and MaxRow=3, so they could potentially have 3 Rows/Columns even if they are coming up all in one horizontal row.
Is there any advice/example you could provide to guide me on how I can achieve this behavior?
Thanks in advance,
//Amanda
Sorry, I have nothing else to add to this. I actually abandoned the idea of using the tiles due to the difficulty/ugliness of implementing the transparent tile. I found that how I wanted to use this was just too far outside of the intended purpose of this control and with all of the work required I ended up writing my own solution.
//ab
Hello!
Was there any progress with this issue? I have the same requirement and I'm trying to figure out how to implement it.
So far adding transparent dummy tiles to the control kind of works :
When a user drags a tile to an empty spot what really happens is that the transparent tile at that place swaps location with it- so it looks like it works. But that's an ugly solution and has its problems, so if you've found a more generic solution please share :)
Hi Petar,
I have been thinking about how to implement adding tiles to a spot that is not taken and making new space (rows/columns). I have some ideas, but I'm not sure how to make it work within existing functionality of the infragistics tile control. I really need some help getting started...just a bit of direction on how I can make this happen. Is there any advice or help that you can give me so I can get going?
Thanks,
Thanks for checking in.
For the sake of time, I have given up on the UseExplicitRowColumnOnTile setting for now. I am going to use one of the other settings until I can decide how much effort is needed and if it's worth it to extend the current functionality. I did however find a few gaps in the documentation regarding the TileDragManager. I sent an email feedback about the empty sections, so hopefully there will be an update.
I am sure I can piece something together with what is there now and get fairly close to my desired behavior.
Hi,
I am just checking to see if you got this working and if you require any further assistance on the matter.
Regards Petar.