Bar

HighlightedLinkChangedEventArgs(BarItemLink, BarItemLink) Constructor

Creates a new instance of the HighlightedLinkChangedEventArgs class.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public HighlightedLinkChangedEventArgs(
    BarItemLink prevLink,
    BarItemLink link
)
Public Sub New(
    prevLink As BarItemLink,
    link As BarItemLink
)

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