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

NavigatorCustomButtons Class

A collection of custom buttons in navigator controls.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

[ListBindable(false)]
public class NavigatorCustomButtons :
    CollectionBase

The following members accept/return NavigatorCustomButtons objects:

Remarks

Navigator controls display a set of built-in buttons (which are used to scroll through the records, post and cancel data changes, insert and delete a record etc.), and they also allow you to display custom buttons that perform custom operations.

DataNavigator_CustomButtons

To add a custom button, add a NavigatorCustomButton object to the NavigatorButtonsBase.CustomButtons collection.

By default, custom buttons are displayed after the built-in buttons. To place a custom button at a specific position among the built-in and existing custom buttons, use the NavigatorCustomButton.Index property.

To respond to button clicks, handle the NavigatorBase.ButtonClick event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NavigatorCustomButtons 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
CollectionBase
NavigatorCustomButtons
See Also