Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxNavigatorButton.OnClick Event

In This Article

Enables you to respond to button clicks.

#Declaration

Delphi
property OnClick: TNotifyEvent read; write;

#Remarks

Navigator buttons already have default actions that occur when they are clicked, so it is not usually necessary to write an OnClick event handler. You can customize or cancel a default button action by handling the button’s OnClick event and/or the button collection’s OnButtonClick event. Alternatively, you can create your custom button collection and override the DoButtonClick method in order to provide your custom logic.

See Also