Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Effects in Xamarin.Forms 3

$
0
0

Hi, I'm trying to apply an effect on a Button using the Effects API. On the platform code(Android) I always get a null Control.
I read about a cast problem on TContainer and TControl, but I can't figure out which types to use:

public class DroidShadowEffect : PlatformEffect<ViewGroup, Android.Widget.Button>


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>