Skip to content

How to hide the system back button when the NavigationView BackButton is used?  #562

Closed

Description

@sudarsanyes

Currently, the sample code snippets provided in the NavigationView documentation duplicates two back buttons - one from the NavigationView and the other from the system back button. How do we disable the system back button and provide complete hit-test visibility to the NavigationView back button?

Update

I am using Prism for UWP - so I guess I need to disable AppViewBackButtonVisibility somehow... so I am guessing this to be a Prism bug.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. sudarsanyes commented on May 13, 2018

    @sudarsanyes
    Author

    Sorry, you can delete this issue!
    There is indeed an API in Prism for UWP to control the AppViewBackButtonVisibility.
    You will need to get the DeviceGestureService and then set the UseTitleBarBackButton to false.
    My bad, please ignore this issue!

  2. sudarsanyes commented on May 13, 2018

    @sudarsanyes
    Author

    Please ignore this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions