I am using DevExpress Components controls.I want to create controls from string Value
like "DevExpress.XtraEditors.TextEdit".I know I can make this with reflection like
var textBoxType = typeof(Control).Assembly.GetType("System.Windows.Forms.TextBox", true);
var textBox = Activator.CreateInstance(textBoxType);
I want to make this for write little code.but DevExpress have a lot of namespace and class. Can I create control from string unless give A MainClass? (like my sample code typeof(Control)) if I can not make I have to use alot of if