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

NavigatorButtonClickEventArgs Class

Provides data for the NavigatorBase.ButtonClick event.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public class NavigatorButtonClickEventArgs :
    EventArgs

Remarks

The NavigatorBase.ButtonClick event is raised each time a user clicks a navigator button. It allows you to override the clicked button’s default action or perform additional actions when buttons are clicked. The NavigatorButtonClickEventArgs class introduces the NavigatorButtonClickEventArgs.Button property which identifies the button clicked. The NavigatorButtonClickEventArgs.Handled property specifies whether the button’s default action is prohibited. It must be set to true to prohibit the clicked button’s default behavior.

NavigatorButtonClickEventArgs objects are automatically created and passed to NavigatorBase.ButtonClick event handlers.

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

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.

Inheritance

Object
EventArgs
NavigatorButtonClickEventArgs
See Also