Last Updated: 11 Feb 2021 13:51 by Scott Mappes
Scott Mappes
Created on: 09 Feb 2021 08:26
Category: TileLayout
Type: Feature Request
Command buttons in the tile header that work with draggable and provide built-in close and minimize

When using my own buttons in the header template, and I have Reorderable=true, the tile layout consumes mouse events and clicks on my buttons don't always work. I would like to have the tile layout provide command buttons that can work in this scenario that let me handle their clicks reliably.

The functionality I am after is closing an minimizing tiles, so built-in actions for that like with the window would be nice. Perhaps tile items could get a Visible parameter like the grid columns and that could also go in their state.

1 comment
Scott Mappes
Posted on: 11 Feb 2021 13:51
Also in my case I would like the ability to add custom buttons in the Tile Header, not just the standard window buttons like Close, Minimize, and Maximize.  Perhaps the tile item could expose one or more Template areas within the tile header to facilitate this.  Then one could specify any content there they wished.  What ever space is remaining in the Tile item could be the region where a user could "grab" the Tile and begin the movement operation.  It might even be nice to some style this remaining header regions to indicate that it is the area to user for moving it.