tägliches Archiv: 14. Februar 2017


Raise the Xamarin.Forms-Button clicked event in a renderer.

I just wrote a renderer to use a Hyperlink-Button in my Xamarin.Forms application. Since the default representation of a button on iOS uses a hyperlink style there’s no need to create an iOS renderer. So here’s my UWP renderer: [assembly: ExportRenderer(typeof(LinkButton), typeof(LinkButtonRenderer))] namespace InventoryCatalogApp.Windows10.Renderers {     public class LinkButtonRenderer : ViewRenderer<LinkButton, HyperlinkButton>     {         #region Overrides of ViewRenderer<LinkButton,HyperlinkButton>         protected override void OnElementChanged(ElementChangedEventArgs<LinkButton> e)...

Read More