Add the following code to the Form_Load event to disable this context menu in a C1PrintPreviewControl control:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1PrintPreviewControl1.PreviewPane.ContextMenuStrip = Nothing |
To write code in C#
C# |
Copy Code
|
---|---|
this.c1PrintPreviewControl1.PreviewPane.ContextMenuStrip = null; |
The default context menu does not appear when you right-click the preview pane in the C1PrintPreviewControl control.