Declined
Last Updated: 28 Mar 2023 08:39 by ADMIN
Kevin
Created on: 21 Mar 2023 15:09
Category: UI for Blazor
Type: Feature Request
1
Add the Visible field for the TileLayoutItem to TileLayoutItemState
There is now a Visible parameter on TileLayoutItem but it's not included as part of the state which makes it inconvenient when saving/loading. Is there a technical reason for this or is visibility something that could be added to the state in a future update?
1 comment
ADMIN
Yanislav
Posted on: 28 Mar 2023 08:39

Hello Kevin,

We appreciate your suggestion and are grateful for your interest in our product. 

The decision to exclude the Visible parameter from the state is an intentional one. Typically, the state is responsible for holding information about controllable elements in the UI. Currently, the TileLayout does not provide any functionality that will make a TileLayoutItem disappear - this is only possible if the developer sets the Visible property.

If the developer has created a custom functionality that enables the end users to show or hide TileLayoutItems (e.g. on button click), they can add the Visible parameter value as a property to a custom state object. This custom property can then be used to restore the state of the TileLayoutItems when needed.

Regards,
Yanislav
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.