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

Call method on custom renderer?

$
0
0

Hello,

I'd like to call a method on my custom renderer, what do you think is the best way to achieve that?

public class MyLabelRenderer : LabelRenderer
{
    public void DoStuff(){}
}


public class MyLabel : Label
{
    public void DoStuff(){
        // TODO: How to signal the custom renderer to invoke DoStuff() ?
    }
}

Viewing all articles
Browse latest Browse all 75885

Trending Articles



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