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

TcxNavigatorControlButtons Class

The collection of buttons used in non-db navigator controls.

#Declaration

Delphi
TcxNavigatorControlButtons = class(
    TcxCustomNavigatorButtons
)

#Remarks

In contrast to db-oriented buttons, TcxNavigatorControlButtons works directly with a control and this needs to implement the IcxNavigator interface. Procedures of this interface provide all the necessary default actions.

You can modify the button behavior as required using any of the following methods:

  • Handle a button collection’s OnButtonClick event.
  • Inherit from TcxNavigatorControlButtons and override the DoButtonClick method.

To dynamically change the accessibility of buttons, override the GetButtonEnabled method or switch a button’s Enabled property.

For more information on how to customize button settings, refer to the TcxNavigatorButton and TcxNavigatorCustomButton class descriptions.

The TcxGridViewNavigatorButtons and TcxExtEditingControlNavigatorButtons classes inherit from TcxNavigatorControlButtons to contain button settings within Grid View navigators and editing controls with option sets.

See Also