protected virtual void OnSubmenuChanged(Submenu oldSubmenu, Submenu newSubmenu)
 {
     if (_popup != null)
     {
         _popup.Child = newSubmenu;
     }
     HasSubmenu = newSubmenu != null;
 }
Ejemplo n.º 2
0
 protected virtual void OnSubmenuChanged(Submenu oldSubmenu, Submenu newSubmenu)
 {
     ApplyTemplate();
     HasSubmenu = newSubmenu != null;
 }
 protected virtual void OnSubmenuChanged(Submenu oldSubmenu, Submenu newSubmenu)
 {
     if (_popup != null)
     {
         _popup.Child = newSubmenu;
     }
     HasSubmenu = newSubmenu != null;
 }