Jump to content
Software FX Community

Adding to the Context Menu

User (Legacy)

Recommended Posts

Each context menu is represented by a command ID, the command IDs for

context menus are in the form: CommandID.ContextMenu*.

The following code adds the 2D/3D command to the Context Menu that appears

when the background of the chart is clicked:

Command cmdBackground = chart1.Commands[(int) CommandID.ContextMenuBack];


cmdBackground.SubCommandID[0] = (int) CommandID.Show3D;



Software FX, Inc.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...