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