New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]Enable/Disable of Hamburger Menu Item #2865

Closed
Bitexirtz opened this Issue Feb 22, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@Bitexirtz

Bitexirtz commented Feb 22, 2017

As shown on the screenshot, I would like to request for enabling/disabling the hamburger menu item.
Thank you very much.

hamburger item

@avechuche

This comment has been minimized.

Show comment
Hide comment
@avechuche

avechuche Feb 22, 2017

I think with the new implementation of Command you can disable it

avechuche commented Feb 22, 2017

I think with the new implementation of Command you can disable it

@Bitexirtz

This comment has been minimized.

Show comment
Hide comment
@Bitexirtz

Bitexirtz Feb 22, 2017

We already tried 1.5.0-alpha002 but it seems that the ICommand is to wire only an event. You can respond to the event but disable the menu item it not possible.
I may be wrong but anywone who could help me on this?
Thank you.

Bitexirtz commented Feb 22, 2017

We already tried 1.5.0-alpha002 but it seems that the ICommand is to wire only an event. You can respond to the event but disable the menu item it not possible.
I may be wrong but anywone who could help me on this?
Thank you.

@punker76 punker76 self-assigned this Feb 25, 2017

@punker76 punker76 added this to the 1.5.0 milestone Apr 12, 2017

punker76 added a commit that referenced this issue Apr 12, 2017

Add feature for #2865
  - Implement the interface ICommandSource
  - Handle Command binding change to hook or unhook command executable
  - Listen to the new command stuff to enable or disable the HamburgerMenuItem
  - New `MahApps.Metro.Styles.HamburgerMenu` key for the HamburgerMenu style

@punker76 punker76 closed this in #2921 Apr 12, 2017

punker76 added a commit that referenced this issue Apr 12, 2017

HamburgerMenuItem Command improvements (#2921)
* Add feature for #2865
  - Implement the interface ICommandSource
  - Handle Command binding change to hook or unhook command executable
  - Listen to the new command stuff to enable or disable the HamburgerMenuItem
  - New `MahApps.Metro.Styles.HamburgerMenu` key for the HamburgerMenu style

* Update 1.5.0.md
@punker76

This comment has been minimized.

Show comment
Hide comment
@punker76

punker76 Apr 12, 2017

Member

@Bitexirtz This will be available in 1.5.0

Member

punker76 commented Apr 12, 2017

@Bitexirtz This will be available in 1.5.0

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