I’m trying to change a control property from a dictionary so basically the key in the dictionary is the property name of that control and the value will be the property value. is there anyway to do this ?
for example in my dictionary I have “Name” as the key and “buttonSave” as the value, how can I relate them to my control to set its property based on the key and value ?
thanks in advance.
Example for you how to use Reflection in your case with method PropertyInfo.SetValue