Back to Devexpress

LinkEventArgs.Link Property

windowsforms-devexpress-dot-xtrabars-dot-linkeventargs.md

latest1.7 KB
Original Source

LinkEventArgs.Link Property

Gets the link associated with the event.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public BarItemLink Link { get; }
vb
Public ReadOnly Property Link As BarItemLink

Property Value

TypeDescription
BarItemLink

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

|

Remarks

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

Item

LinkEventArgs Class

LinkEventArgs Members

DevExpress.XtraBars Namespace