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

BarBaseButtonItem.DownChanged Event

Occurs after the item’s pressed state has been changed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public event ItemClickEventHandler DownChanged

Event Data

The DownChanged event's data class is ItemClickEventArgs. The following properties provide information specific to this event:

Property Description
Item Gets the BarItem whose link was clicked.
Link Gets the clicked BarItemLink.

Remarks

If a button item’s BarBaseButtonItem.ButtonStyle is set to BarCheckItem.Checked then it can have two states: normal (elevated) and pressed. When the item’s state is changed the DownChanged event is fired.

The DownChanged event occurs in the following cases:

  • an end-user has pressed the item’s link by clicking it with the mouse or using the keyboard;
  • the BarBaseButtonItem.Down property has been changed via code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DownChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also