Fires immediately after a link has been removed from the sub links collection.
The LinkDeleted event's data class is LinkEventArgs. The following properties provide information specific to this event:
|Link||Gets the link associated with the event.|
Handle the LinkDeleted event to respond to moving a link away from the sub links collection. Links can be removed from sub-menus using the following two mechanisms:
- Programmatically, using the BarLinkContainerItem.RemoveLink method.
- By end-users, using drag and drop operations on links. Links can be dragged away from a sub-menu only when the Customization window is active.