2 Replies - 369 Views - Last Post: 13 June 2019 - 07:10 AM Rate Topic: -----

#1 RushabhVerma   User is offline

  • New D.I.C Head

Reputation: -2
  • View blog
  • Posts: 13
  • Joined: 23-April 19

How to handle click events of the settings button inside a UWP Navigat

Posted 12 June 2019 - 10:04 PM

I found that the official NavigationView are introduced in newer versions of Visual Studio and can help easily achieve the Hamburger layout, and by setting the property IsSettingsVisible to True, there will autometically be a settings button at the bottom.

My question is pretty simple: How can I handle the click event of this settings button? I cannot find any corresponding properties.

<NavigationView PaneDisplayMode="LeftCompact" IsSettingsVisible="True">
<!--I'm expecting some codes like below-->
<NavigationView.SettingsButton Click="SettingsButton_Click"/>
</NavigationView>

Is This A Good Question/Topic? 0
  • +

Replies To: How to handle click events of the settings button inside a UWP Navigat

#2 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 6992
  • View blog
  • Posts: 23,765
  • Joined: 05-May 12

Re: How to handle click events of the settings button inside a UWP Navigat

Posted 13 June 2019 - 07:03 AM

Cross posted on StackOverflow again (under a different user name as compared to past cross-posts). Previously cross posting as John, now as Obsidian.
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 15172
  • View blog
  • Posts: 60,735
  • Joined: 12-June 08

Re: How to handle click events of the settings button inside a UWP Navigat

Posted 13 June 2019 - 07:10 AM

The help doc on it should get you where you need to go.
https://docs.microso.../navigationview
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1