windowsforms-devexpress-dot-xtrabars-dot-bar-0b00402d.md
Fires immediately after a link has been removed from the bar.
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. |
Write a LinkDeleted event handler to perform specific actions each time a link is removed from the bar. Links can be removed from a bar at runtime in the following ways:
If you want to respond to links being deleted from context menus and sub-menus, handle the PopupMenuBase.LinkDeleted and BarLinkContainerItem.LinkDeleted events respectively.
See Also