Exemplo n.º 1
0
 /// <summary>
 /// Removes an event listener from this NavigationMenu's NavigationMenuEvent.
 /// </summary>
 /// <param name="navMenuEventListener">The method to remove from this NavigationMenu's NavigationMenuEvent.</param>
 public void RemoveNavigationMenuEventListener(NavigationMenuEvent navMenuEventListener)
 {
     if (navMenuEventListener != null)
     {
         _navMenuEvent -= navMenuEventListener;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Registers another event listener to this NavigationMenu's NavigationMenuEvent.
 /// </summary>
 /// <param name="navMenuEventListener">The method listening to this NavigationMenu's NavigationMenuEvent.</param>
 public void AddNavigationMenuEventListener(NavigationMenuEvent navMenuEventListener)
 {
     if (navMenuEventListener != null)
     {
         _navMenuEvent += navMenuEventListener;
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Removes an event listener from this NavigationMenu's NavigationMenuEvent.
 /// </summary>
 /// <param name="navMenuEventListener">The method to remove from this NavigationMenu's NavigationMenuEvent.</param>
 public void RemoveNavigationMenuEventListener(NavigationMenuEvent navMenuEventListener)
 {
     if (navMenuEventListener != null)
     {
         _navMenuEvent -= navMenuEventListener;
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Registers another event listener to this NavigationMenu's NavigationMenuEvent.
 /// </summary>
 /// <param name="navMenuEventListener">The method listening to this NavigationMenu's NavigationMenuEvent.</param>
 public void AddNavigationMenuEventListener(NavigationMenuEvent navMenuEventListener)
 {
     if (navMenuEventListener != null)
     {
         _navMenuEvent += navMenuEventListener;
     }
 }