|
-
Mar 12th, 2010, 11:54 AM
#1
Thread Starter
Addicted Member
Grid Control Question
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|