Question: do I need to have different images for different screen sizes for iOS for (4s 5s, and above)?
how can we set retain dimensions of images/Icons and controls across the screen sizes and resolutions in iOS (using Xamarin forms).
please refer this to understand problem 
[Autolayout and proportional positioning](https://stackoverflow.com/questions/20192907/autolayout-and-proportional-positioning?rq=1)

but I need solution for xamarin forms.

Answer: 
I assume you're constucting an instance of one of your inherited classes and you don't know what the type will be on construction (so `SolarPanel.Name` isn't an option).

You can do:

```
this.getType().GetProperty("Name").GetValue(this, null);

```

But if all your types don't have the `Name` property, you should null check `GetProperty` first:

```
var prop = this.getType().GetProperty("Name");
string name = "";

if (prop != null)
{
    name = prop.GetValue(this, null);
} 

```
I dont agree with your class structure, but i will try to answer your question:

try this:

```
(string)this.GetType().GetField("Name").GetValue(this);

```