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

Can I change the native Control used for a given XF View?

$
0
0

Is it possible to customize which native control is used for a given XF View? For example, an Entry uses a UITextField on iOS. Sometimes, the only way to customize UI controls is to extend them and override some of their methods. Therefore, I might need to create a MyTextField class on iOS. Is there a way to get an XF Entry to use MyTextField instead of UITextField? Do I just reassign the Control property in my custom renderer to a MyTextField?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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