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

NavBarItem.Click Event

Fires immediately after an end-user has clicked a group item.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v18.2.dll

Declaration

public event EventHandler Click

Event Data

The Click event's data class is EventArgs.

Remarks

If a NavBarItem was selected via a click at runtime, a NavBarItem.Command is executed and the NavBarItem.Select and Click events fire. If an end-user clicks an already selected item, the NavBarItem.Select event is skipped.

To perform actions when an end user clicks a NavBarGroup, use the NavBarGroup.Click, NavBarGroup.Activate events or the NavBarGroup.Command property.

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