Skip to main content
Bar

BarCheckItem.CheckedChanged Event

Fires after the check state of a link associated with the check item has been changed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v25.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public event ItemClickEventHandler CheckedChanged

Event Data

The CheckedChanged 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.
MouseButton Gets the pressed mouse button.

Remarks

This event is raised after the BarCheckItem.Checked property’s value has been changed. Handle the CheckedChanged event to respond to an item’s check state being changed. For instance, if your check item is associated with a specific option in your application, you can enable this option while the item is checked and disable it otherwise.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CheckedChanged 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