Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarLinkContainerItem.LinkAdded Event

Fires immediately after a link has been added to the sub links collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event LinkEventHandler LinkAdded

#Event Data

The LinkAdded 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.

#Remarks

Handle the LinkAdded event to respond to adding a link to the sub links collection. At runtime, links can be added using the following two mechanisms:

If you want to respond to adding links to bars or context menus, handle the appropriate Bar.LinkAdded and PopupMenuBase.LinkAdded events.

See Also