I want to retrieve a PropertyInfo, Here the code :
string propertyName="Text";
PropertyInfo pi = control.GetType().GetProperty(propertyName);
it works fine but if I want to retrieve nested properties, it returns null :
string propertyName="DisplayLayout.Override.RowSelectors";
PropertyInfo pi = control.GetType().GetProperty(propertyName);
Is there any way to get nested properties ?
Best Regards,
Florian
Edit : I have a new problem now, I want to get a property which is an array :
string propertyName="DisplayLayout.Bands[0].Columns";
PropertyInfo pi = control.GetType().GetProperty(propertyName)
Thank you