Hello,

I am trying to find (or understand) the best way to control a grids Visibility property. Here is my example. Let's say I have 16 Grid views, and 16 buttons, each button should make an associated Grid view 'Visible'. Now, when I do this it should make the remaining 15 Grids 'Hidden'.

I know I can do a GridName.Visibility = Visibility.Hidden for all 15 and then a .Visible for the one, but doing this in 16 places seems really redundant (or annoying). Is there a better way to contro this???

Thanks in advance!