Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
XamTile resize behavior when UseExplicitRowColumnOnTile and tiles with ColumnSpan/RowSpan
posted

I am investigating various layout scenarios using XamTileManager.  I've assembled a layout that looks something like the intended layout image below.  In the image, imagine that the dashed lines are demarcating the edge of XamTileManager.Row/Column(s).  A contiguous color is a single XamTile.  The notation used corresponds to setting attached values on the corresponding XamTile as follows:
C* => XamTileManager.Column set to * value
R* => XamTileManager.Row set to * value
CSPAN* => XamTileManager.ColumnSpan set to * value
RSPAN* => XamTileManager.RowSpan set to * value

Additionally the NormalModeSettings I am using are:

      <ig:XamTileManager.NormalModeSettings>
        <ig:NormalModeSettings 
          AllowTileDragging="Slide"
          AllowTileSizing="Individual"
          TileLayoutOrder="UseExplicitRowColumnOnTile" />
      </ig:XamTileManager.NormalModeSettings>

I am expecting the resulting visualization to be similar to the image attached.  On initial rendering the 4 tiles in the upper left look to be evenly placed across 2 rows and 2 columns.  I am able to adjust this to a small degree to achieve something _relatively_ similar to what I am looking for.  However, I was expecting to have more explicit control over individual Tile(/Column/Row) sizes.  Almost none of the results of dragging on an edge are what I would intuitively expect.  It seems to be worse for edges that intersect with a tile that spans.

There's not much documentation on how layout should work when dealing with UseExplicitRowColumnOnTile and spanning columns/rows.  Can you elaborate on what is expected (because what I observe is definitely not what I would expect, nor does it seem natural).

What I was expecting was that I would be able to drag an edge and it would effectively allow me to resize the "logical" (not as in Logical tree, literally meaning logical) row/column to the point that it is flush up against the adjacent one for inner edges.  I would have at least have expected to get a layout that is exactly as the first image attached (by adjustment if not initial layout given the column/row/spans).