Esempio n. 1
0
			/// <summary>
			/// Raises the item removed event.
			/// </summary>
			public void OnItemRemoved(Navigation widget, NavigationItemEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnItemRemoved(e));
			}
Esempio 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);
		}
Esempio 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);
		}
Esempio 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);
 }
Esempio n. 5
0
 /// <summary>
 /// Raises the item removed event.
 /// </summary>
 public void OnItemRemoved(Navigation widget, NavigationItemEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnItemRemoved(e);
 }
Esempio 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);
 }
Esempio n. 7
0
 /// <summary>
 /// Raises the item removed event.
 /// </summary>
 public void OnItemRemoved(Navigation widget, NavigationItemEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnItemRemoved(e));
 }