Пример #1
0
 /// <summary>
 /// Set a child menu for this item. See the menu configuration.
 /// </summary>
 /// <param name="menu">A menu, or menu configuration. null may be passed to remove the menu.</param>
 public virtual void SetMenu(MenuBase menu)
 {
     this.Call("setMenu", menu != null ? menu.ToConfig() : null);
 }
Пример #2
0
 /// <summary>
 /// Set a child menu for this item. See the menu configuration.
 /// </summary>
 /// <param name="menu">A menu, or menu configuration. null may be passed to remove the menu.</param>
 public virtual void SetMenu(MenuBase menu)
 {
     this.Call("setMenu", menu != null ? menu.ToConfig() : null);
 }
Пример #3
0
 /// <summary>
 /// Set a child menu for this item. See the menu configuration.
 /// </summary>
 /// <param name="menu">A menu, or menu configuration. null may be passed to remove the menu.</param>
 /// <param name="destroyMenu">True to destroy any existing menu. False to prevent destruction. If not specified, the destroyMenu configuration will be used.</param>
 public virtual void SetMenu(MenuBase menu, bool destroyMenu)
 {
     this.Call("setMenu", menu != null ? menu.ToConfig() : null, destroyMenu);
 }
Пример #4
0
 /// <summary>
 /// Set a child menu for this item. See the menu configuration.
 /// </summary>
 /// <param name="menu">A menu, or menu configuration. null may be passed to remove the menu.</param>
 /// <param name="destroyMenu">True to destroy any existing menu. False to prevent destruction. If not specified, the destroyMenu configuration will be used.</param>
 public virtual void SetMenu(MenuBase menu, bool destroyMenu)
 {
     this.Call("setMenu", menu != null ? menu.ToConfig() : null, destroyMenu);
 }