How to expand & Collapse particular or all Expandables on Screen Manually

How to expand & Collapse particular or all Expandables on Screen Manually

  

Hi,

I want to expand all & close all Expandable's on screen based on action manually.

Thanks,

Assif

assif_tiger wrote:

Hi,

I want to expand all & close all Expandable's on screen based on action manually.

Thanks,

Assif

Web or mob?


Pankaj pant wrote:

assif_tiger wrote:

Hi,

I want to expand all & close all Expandable's on screen based on action manually.

Thanks,

Assif

Web or mob?


It's a Mobile application.


Have you tried to create a local variable 'IsExpanded' on the screen, which you can assign to the 'IsExpanded' property of the SectionExpandable?

With a screen action, you can change the value of the local variable.


Sam Rijkers wrote:

Have you tried to create a local variable 'IsExpanded' on the screen, which you can assign to the 'IsExpanded' property of the SectionExpandable?

With a screen action, you can change the value of the local variable.


Hi there,

Thanks for the response, I know it is there but I have multiple dynamic sections as a List-Items.


In that case you can try to add an attribute 'IsExpanded' to the aggregate that is bound to the List. Bind that attribute to the IsExpanded property of the SectionExpandable.

This way you can set the IsExpanded property for every List-Item seperately, and all at once (with a loop).