The requested page is not available for the requested platform. You are viewing the content for Default platform.

Add Items to the Report Designer's Standard Toolbar

This tutorial illustrates how add a new button to a Report Designer's standard toolbar.


See the following tutorial to learn how to add a Report Designer to a WinForms application: Create a Custom End-User Report Designer.

Do the following to customize a standard designer form's toolbar:

  1. Click the [Add] button in the Design Bar Manager's menu and add a new menu item to it.

    HowTo - CustomUserDesignerForm2

    Change the item's caption to Help and double-click it. Click [Add] and create a new button. Change its caption to About.

    HowTo - CustomUserDesignerForm3

  2. Handle the newly added menu item's BarManager.ItemClick event:

    using System.Windows.Forms;
    // ...
    private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
        MessageBox.Show("This is a standard Report Designer Form.", "About");

The following image illustrates the result:

HowTo - CustomUserDesignerForm4