Skip to content

Add a bindable property to open and close the menu from a view model #79

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ernestochaves
Copy link

For people using mvvm frameworks, it could be handy to have a property to open and close the menu that they can bind in XAML, so I added IsMenuVisible to the container page implementation.

I hope it is useful to someone. I am using it with Prism.

Please let me know if it helps.

For people using mvvm settings, it is handy to have a property to open and close the menu, so I added IsMenuVisible to the container page implementation.
You can still use the direct methods or bind the property in XAML or code.
@ernestochaves
Copy link
Author

If anyone can give me a hand, the CI seems to be failing but I don't see anything related to the change I made.

C:\projects\slideoverkit\SlideOverKit\SlideOverKit.csproj(1,1): error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.

@shreyans-wakekar
Copy link

ShowMenuAction targeting null in ViewModel. Can anybody help ?
How to show hide menu in viewmodel..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants