Spread Windows Forms 12.0 Product Documentation
Adding a Context Menu
Spread Windows Forms 12.0 Product Documentation > Developer's Guide > Working with the Chart Control > Creating Charts > Using the Chart Control > Adding a Context Menu

You can add a context menu to the form for the chart control so that when you right-click on the chart, you see the context menu. You can add the context menu at design time or with code. For more information on using code, see the ContextMenuStrip property.

Using the Designer

  1. Add a context menu control to the form.
  2. Add a chart control to the form using the Spread Designer.
  3. Click on the Spread Chart smart tag or verb.

    Layers on a sheet

  4. Select the context menu you wish to associate with the chart control.