Exemplo n.º 1
0
			/// <summary>
			/// Raises the item removed event.
			/// </summary>
			public void OnItemRemoved(Navigation widget, NavigationItemEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnItemRemoved(e));
			}
Exemplo n.º 2
0
		/// <summary>
		/// Raises the <see cref="ItemShown"/> event.
		/// </summary>
		/// <param name="e">Event arguments</param>
		protected virtual void OnItemShown(NavigationItemEventArgs e)
		{
			Properties.TriggerEvent(ItemShownEvent, this, e);
		}
Exemplo n.º 3
0
		/// <summary>
		/// Raises the <see cref="ItemRemoved"/> event.
		/// </summary>
		/// <param name="e">Event arguments</param>
		protected virtual void OnItemRemoved(NavigationItemEventArgs e)
		{
			RemoveParent(e.Item.Content);
			Properties.TriggerEvent(ItemRemovedEvent, this, e);
		}
Exemplo n.º 4
0
 /// <summary>
 /// Raises the <see cref="ItemShown"/> event.
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnItemShown(NavigationItemEventArgs e)
 {
     Properties.TriggerEvent(ItemShownEvent, this, e);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Raises the item removed event.
 /// </summary>
 public void OnItemRemoved(Navigation widget, NavigationItemEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnItemRemoved(e);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Raises the <see cref="ItemRemoved"/> event.
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnItemRemoved(NavigationItemEventArgs e)
 {
     RemoveParent(e.Item.Content);
     Properties.TriggerEvent(ItemRemovedEvent, this, e);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Raises the item removed event.
 /// </summary>
 public void OnItemRemoved(Navigation widget, NavigationItemEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnItemRemoved(e));
 }