I have a child UserControl
comprising of multiple textboxes, labels, image etc. I need to populate this user control in a Parent User control which has a Grid.
The number of child user controls that need to be populated in the parent user control are determined at run time and can change. Basically the number depends on the search result. So it can be from 0 to n.
How can I populate my child user control in parent control? Or is there a better alternate to using a Grid control for this?
Note: I have to do this in my ViewModel.
See Question&Answers more detail:os