vendredi 17 juin 2016

Xamarin retrieve bindableproperty through reflection

I have the following 2 lines of code:

var setter = new Setter();
setter.Property = styleType.GetRuntimeProperty(propName) as BindableProperty;

But this is clearly wrong as PropertyInfo and BindableProperty are actually very unrelated in their inheritance. So... how is this accomplished?





Aucun commentaire:

Enregistrer un commentaire