示例#1
0
        /// <summary>
        /// 激活此菜单
        /// </summary>
        /// <param name="menuContext">菜单上下文,应由父菜单传递给子菜单</param>
        protected void Active(MenuContext menuContext)
        {
            Context = menuContext;

            Active();
        }
示例#2
0
        /// <summary>
        /// 激活此菜单
        /// </summary>
        /// <param name="menuStyle">菜单样式</param>
        public void Active(MenuStyle menuStyle)
        {
            Context = new MenuContext(menuStyle);

            Active();
        }