Replies: 1 comment 2 replies
-
I see this more as an extension component that could be offered by an external source. Not as a part of the library per se. About the resizing, how would that work? Is that per tile element? If so, how does that relate to the Colspan then? Ps: for codeblocks use 3 tickmarks (`) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It could be very useful to have a TileGrid Component...
The idea of a tile grid is to have a number of columns, a size for Column and Row and be able to extand an item with ColumnSpan and RowSpan properties.
The tile should be able to be reordered or resized... And the spacing around the tile could be specified (like the default FluentGrid component)
ColumnSpan : int
RowSpan: int
Spacing : int
ColumnWidth : string
Columns : int
RowHeight : string
Resizable : boolean
Reorderable : boolean
OnResize : EventCallback (maybe with FluentTileGridEventArgs to keep the track of the item to resize ?)
The Design of the FluentTileGridItem could be a simple card with a divider between Header and Content
As the other Fluent components, Header could be templated with a HeaderTemplate Parameter.
For example, a thing like this code (I paste the code directly because it seems that the code component has some issue with rendering) :
will render things like this :
What do you think about such component ?
Beta Was this translation helpful? Give feedback.
All reactions