I have a String variable that contains control type. Example: "Button", "TextBox" or "Label". I want to get PropertyInfo from this Variable. I have run this code but in first line return Null:
Type type = Type.GetType(ControlType);
PropertyInfo[] properties = type.GetProperties();
any idea?