GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolContext Class / BackgroundContextMenuStrip Property
In This Topic
    BackgroundContextMenuStrip Property
    In This Topic
    Gets the view's original ContextMenuStrip, before being temporarily reset by this tool.
    Syntax
    public ContextMenuStrip BackgroundContextMenuStrip {get;}
    Remarks
    This is set by Start and is restored by Stop. The view's ContextMenuStrip property has to be set to null temporarily to avoid being invoked as well as an object specific context menu. We recommend not using the view's Control.ContextMenuStrip property, but bringing up a context menu explicitly when handling the GoView.BackgroundContextClicked event.
    See Also