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

Custom renderer and parameters

$
0
0

Hi.
I have a "Entry" Custom Renderer (called "MyEntry").
I would like to pass a parameter to MyEntry constructor. For example I would like to pass an integer:

MyEntry entry = new MyEntry(5);

How can I create the Renderer so it can accept parameters in input? Is it possible?


Viewing all articles
Browse latest Browse all 77050

Trending Articles