Back to Devexpress

NavigatorButtonClickEventArgs Class

windowsforms-devexpress-dot-xtraeditors-643ceae9.md

latest2.3 KB
Original Source

NavigatorButtonClickEventArgs Class

Supplies data for the NavigatorBase.ButtonClick event.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class NavigatorButtonClickEventArgs :
    EventArgs
vb
Public Class NavigatorButtonClickEventArgs
    Inherits EventArgs

NavigatorButtonClickEventArgs is the data class for the following events:

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 clicked button. 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.

Inheritance

Object EventArgs NavigatorButtonClickEventArgs

See Also

NavigatorButtonClickEventArgs Members

ButtonClick

DevExpress.XtraEditors Namespace