Back to Devexpress

BarBaseButtonItem.DownChanged Event

windowsforms-devexpress-dot-xtrabars-dot-barbasebuttonitem-6cb209b4.md

latest2.3 KB
Original Source

BarBaseButtonItem.DownChanged Event

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event ItemClickEventHandler DownChanged
vb
Public Event DownChanged As ItemClickEventHandler

Event Data

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

PropertyDescription
ItemGets the BarItem whose link was clicked.
LinkGets the clicked BarItemLink.
MouseButtonGets the pressed mouse button.

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.

See Also

ButtonStyle

Down

BarBaseButtonItem Class

BarBaseButtonItem Members

DevExpress.XtraBars Namespace