带有LiquidMenu的Silverlight菜单 [英] Silverlight Menu with LiquidMenu

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

问题描述

我有这个菜单:

Hi, I have this menu:

<liquidmenu:mainmenu x:name="mainMenu" itemselected="mainMenu_ItemSelected" xmlns:x="#unknown" xmlns:liquidmenu="#unknown">
   <liquidmenu:mainmenu.items>
      <liquidmenu:mainmenuitem text="Home1" id="mnuHomeMain" icon="../images/MenuIcons/home.png">
          <liquidmenu:menu>
             <liquidmenu:menuitem id="mnuHomeMain" text="Home" icon="../images/MenuIcons/home.png" />
          </liquidmenu:menu>   
      </liquidmenu:mainmenuitem>
      <liquidmenu:mainmenuitem text="Admin" icon="../images/MenuIcons/payroll_main.png"></liquidmenu:mainmenuitem></liquidmenu:mainmenu.items></liquidmenu:mainmenu>


.... etc

我的问题是,如何在根目录下显示主页"菜单?当前它是Home1的子代,因此是下拉列表.我已经尝试过这样做,以至于我单击主页并重定向,但我无法使其正常工作.

请帮忙.


.... etc

my question is, how can I have the Home menu at the root? Currently it is child of Home1 so it is a drop down. I have tried to make it such that I click on home and redirects but I just can''t get it working.

Please help.

推荐答案

您可以按照^ ].
这些中的每一个都将处于相同的根级别.
You can add multiple items inside the menu as described here[^].
Each of these will be at the same root level.


这篇关于带有LiquidMenu的Silverlight菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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