Bar

LinkEventArgs.Link Property

Gets the link associated with the event.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

Property Value

Type Description
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