I Have a Gallery which has a container in it. in the OnSelect Property, I want to use Switch Statement but it is not working.
Below is the Tree view of the Screen

Below is the code in OnSelect of the Gallery
Switch(ThisItem.key,
"inOut",
Navigate(InOut_Screen,ScreenTransition.CoverRight)
)
The above code is working if I do not use the container inside the Gallery.
Thanks.