Skip to main content
A newer version of this page is available. .
Bar

HighlightedLinkChangedEventArgs(BarItemLink, BarItemLink) Constructor

Creates a new instance of the HighlightedLinkChangedEventArgs class.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public HighlightedLinkChangedEventArgs(
    BarItemLink prevLink,
    BarItemLink link
)

Parameters

Name Type Description
prevLink BarItemLink

A BarItemLink descendant representing the previously highlighted link. This value is assigned to the HighlightedLinkChangedEventArgs.PrevLink property.

link BarItemLink

A BarItemLink descendant representing the currently highlighted link. This value is assigned to the HighlightedLinkChangedEventArgs.Link property.

Remarks

When the BarManager.HighlightedLinkChanged event is raised, the HighlightedLinkChangedEventArgs object with appropriate settings is automatically created and passed to it as the parameter.

See Also