Fires immediately after a link has been added to the bar.
The LinkAdded event's data class is LinkEventArgs. The following properties provide information specific to this event:
|Link||Gets the link associated with the event.|
Write a LinkAdded event handler to perform specific actions each time a link is added to the Bar.ItemLinks collection of the bar. Links can be added to bars at runtime using the following methods:
- Programmatically, using the Bar.AddItem, Bar.AddItems and Bar.InsertItem methods.
- By end-users using drag and drop operations on items. (Users can drag items to bars from the Customization window or from other bars. Items can be dragged from bar to bar if the ALT key is pressed.)