Forum Xamarin Xamarin.Forms

Unable to Tag AutomationId to Navigation Bar Element.

I have a Xamarin.Forms app in which i have directly implemented a master detail view as a new NavigationPage().
Now i want to tap on elements like the hamburger menu of the navigation bar, back button and the title but i am unble to under stand where to add the automation ID for it as the Navigation Item in not mentioned in XAML. Please let me know what to do.?


  • N_BauaN_Baua INMember ✭✭✭✭✭

    Hi @AnubhabMishra.3872

    Implementing the navigation in XF way can be tedious some-times, while there is a great library called as PRISM which takes the pain of maintaining the navigation stack (and much more), you can go for it.

    The key point here is you must adhere to the MVVM pattern and things can go really smooth. Hope this helps.

    N Baua

  • WolfgangHenicklWolfgangHenickl USMember ✭✭

    Hi, @AnubhabMishra.3872
    I have the complete similar Problem, did you find a solution. I don't see the item in Repl either....


  • alexmartinezalexmartinez USMember ✭✭

    Hi there,

    You can use the "TapCoordinates" method from IApp, but remember to set different coordinates per platform.


Sign In or Register to comment.