title: How to navigate from custom renderer to content page in xamarin forms
body: <p>I want to navigate from custom renderer to xamarin forms content page. I am  using custom renderer for creating map, when i click on the marker, I need to redirect to it's details page. I am used this link to develop my map-: <a href="https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map/customized-pin" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map/customized-pin</a></p>
  
  <pre><code>void OnInfoWindowClick (object sender, GoogleMap.InfoWindowClickEventArgs e)
    {
     var customPin = GetCustomPin (e.Marker);
       if (customPin == null) 
       {
       throw new Exception ("Custom pin not found");
       }
     else
     {
      // navigate to details page , that is  a content page in xamarin forms.
     }
  }
  </code></pre>
  
  <p>here is my custom pin and details</p>
  
  <p><a href="https://i.stack.imgur.com/KpJCQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KpJCQ.png" alt="enter image description here"></a></p>