C# mapping array of GUI controls array of data members

mjeschke
40
Reputation points
I have arrays containing information that needs to be reflected in toggle switches (using radio buttons). Currently it's Boolean (true / false) data. If true radio box is set, if false it's not set. Pretty simple. There's a few more details as if is true radio box is red, else green.
I'm finding it labor intensive to map all these data from numerous arrays to Form display components. Is there a way to auto generate the patterns and map this data to form controls?
Thanks!
Windows development | Windows App SDK
Sign in to answer