如何使用MVVM创建菜单 [英] How to create menu using MVVM

查看:88
本文介绍了如何使用MVVM创建菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在.NET中使用MMVM创建菜单



i有菜单如

Master

添加master

当我点击Add master打开新的Xaml页面/表格



请提供代码



高级谢谢。

How to create menu using MMVM in .NET

i have Menu like
Master
Add master
When i click the Add master open the new Xaml page /Form

Please Provide me the Code

In Advanced thanks.

推荐答案

首先,没有人会给你代码



其次,MVVM是一种设计模式,而不是一种语言。您是否在询问如何在WPF中创建菜单?尝试谷歌搜索WPF菜单,看看会发生什么



第三,你试过什么?你在这里所做的就是发布代码请求。你没有向我们展示你尝试过的东西,所以我们无法帮助你。
First, no one is going to give you code

Second, MVVM is a design pattern, not a language. Are you asking how to create a menu in WPF? Try Googling "WPF Menu" and see what happens

Third, what have you tried? All you've done here is post a request for code. You haven't showed us what you've tried so we can't help you.


这篇关于如何使用MVVM创建菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆