Skip to main content

TcxNavigatorControlButtons Class

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

Declaration

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