C# mapping array of GUI controls array of data members

mjeschke 40 Reputation points
2025-07-08T01:00:40.39+00:00

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
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.