Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Control" Property In Custom Renderers and Effects Is Null For Layouts

When I try to write a custom renderer for any of the layout classes, the "Control" property appears null. It is OK since the renderer already is the wrapper for the native control but it is a problem when creating an Effect. So I cannot do any customization with the layout classes using Effects since Control property is not assigned. Is this a bug?

like image 330
John L. Avatar asked Oct 24 '16 22:10

John L.


1 Answers

The PlatformEffect class has another property called Container which could also be used for the effect when the Control is null, e.g. at layouts.

like image 194
tobi_b Avatar answered Dec 21 '22 19:12

tobi_b