windowsforms-devexpress-dot-xtrabars-dot-barlinkcontaineritem-8c442b9d.md
Fires immediately after a link has been removed from the sub links collection.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public event LinkEventHandler LinkDeleted
Public Event LinkDeleted As LinkEventHandler
The LinkDeleted event's data class is LinkEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| 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:
If you want to respond to removing links from bars or context menus, handle the appropriate Bar.LinkDeleted and PopupMenuBase.LinkDeleted events.
See Also