I am working on program that use wpf with design of mvvm. I have a collection of Control, each item can be Button\RadioButton\TextBox ...
ObservableCollection<Control> controls_lst = new ...
I want to iterate over this list by the xaml code of the view, and create and display each control. but the problem is that i need to check the type before i write
there is a way to iterate over this list and create and display the control by checking the type from the xaml ? i