Recents

Invisible Mode propertyOfficial Content

Applies to controls displayed on layouts of Smart Devices objects. The property specifies whether the control occupies space or not when its Visible property is set to false.

Scenarios

There is a need to provide a more beautiful and polished UX on Smart Device's apps. GeneXus is adding flexibility and power to the developer to do more dynamic screens, adapt to all states of the application, and do better UI being able to customize more elements.

This property enables the developer to add hidden information on the screen that does not occupy space and when the user triggers an event it can make this hidden info appear and disappear moving the rest of the elements so the UI keeps looking good.

Values

Keep Space The layout maintains the control's space even though the control is not visible. This is the default value.
Collapse Space The layout collapses the space, letting other controls use the space. Also, when the Animated property is enabled at theme level, there will be a smooth(1) transition between the both states (visible and invisible, and vice versa).
Note: (1) Available as of GeneXus 15 Upgrade 4

Description

When a control is not visible there can be two possible behaviors. One is to reserve the space that the control should occupy even though it is not visible and the second is when other controls of the layout can copy the space of a control that is not visible.

How to Apply changes

The object has to be built.

Example

You can see a working example on this sample.

Or you can follow the steps of the following HowTo document.

Availability

GeneXus 15 Upgrade 4

 






 

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.