I have custom renderers for multiple Xamarin.Forms.Views. On UWP, these renderers (amongst other things) implement access key support (so that users can do things such as hit Alt+P to move the focus to whichever View 'P' is associated with). To do that, the renderers handle AccessKeyDisplayRequested and AccessKeyDisplayDismissed.
I also want to handle AccessKeyDisplayRequested and AccessKeyDisplayDismissed at the page level, for ContentPage (and possibly NavigationPage). However, there is a distinct lack of examples of page renderers on UWP. The only one I have implemented previously has completely replaced the underlying page. However, in this instance, all I want to do is to add two event handlers to an existing page (rather than replace it), and to remove those handlers when the page is popped to avoid memory leaks.
Can anybody point me at a sample that does anything similar please (not necessarily access key related, just adding/removing events to UWP pages in a custom renderer)?