PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / ContextMenuStrip Property

In This Topic
    ContextMenuStrip Property (C1PreviewPane)
    In This Topic
    Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this C1PreviewPane. If not explicitly set in code (i.e. null at design time), the default context menu will be used at runtime.
    Syntax
    'Declaration
     
    Public Overrides Property ContextMenuStrip As ContextMenuStrip
    public override ContextMenuStrip ContextMenuStrip {get; set;}
    Remarks
    To remove the default context menu altogether without assigning a custom menu, set this value to null in code.
    See Also