Skip to main content

LinkEventArgs.Link Property

Gets the link associated with the event.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


Property Value

Type Description

A BarItemLink object representing the link, operations against which caused the event to fire.


Some operations on links cause specific events to fire. In such cases, the event provides data on that link via the Link parameter. You can access the item associated with the link using the BarItemLink.Item property of the returned object.

Note that the link property can actually return any BarItemLink descendant (this depends on the link, that caused the event). In such cases, you may need to cast the returned object to a proper type.

See Also