My first Power App, so sorry for the basic question.
I have a rectangle in my gallery that changes color to indicate the selected item and the text color is also changed.
shpSelectedPerson fill = If(ThisItem.IsSelected, gvAppColor, Transparent)
main gallery all labels color = If(ThisItem.IsSelected, White, Black)
I added a subgallery and I want the text to also change color based on the main gallery IsSelected. However, using "ThisItem.IsSelected" in the subgallery color property only changes the color for the first item in the subgallery. (i.e. the selected item in the subgallery)
Doesn't work:
sub gallery all labels color =If(ThisItem.IsSelected, White, Black)
What should I change the ThisItem.IsSelected to in order to refer to the main gallery IsSelected?
Or is there another way to achieve this?
Thanks,
J