menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuPlaceHolder - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContextMenuPlaceHolder

    Serves to listen to the command keys and popup events.

    Inheritance
    System.Object
    ContextMenuPlaceHolder
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ContextMenuPlaceHolder : ContextMenu

    Constructors

    ContextMenuPlaceHolder()

    Declaration
    public ContextMenuPlaceHolder()

    Properties

    MainMenuForm

    Gets or sets the main menu form.

    Declaration
    public Form MainMenuForm { get; set; }
    Property Value
    Type
    System.Windows.Forms.Form

    Manager

    Gets the PopMenusManager

    Declaration
    public PopupMenusManager Manager { get; }
    Property Value
    Type
    PopupMenusManager

    TabbedMDIManager

    Gets or sets the tabbed MDI manager.

    Declaration
    public ITabbedMDIManager TabbedMDIManager { get; set; }
    Property Value
    Type
    ITabbedMDIManager

    Methods

    AddToolBar(XPToolBar)

    Adds the tool bar to an array list.

    Declaration
    public void AddToolBar(XPToolBar toolBar)
    Parameters
    Type Name Description
    XPToolBar toolBar

    Dispose(Boolean)

    Disposes of the resources, other than memory, used by the System.Windows.Forms.Menu.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    InitContextMenuSettings(PopupMenusManager, Control)

    Declaration
    public void InitContextMenuSettings(PopupMenusManager manager, Control control)
    Parameters
    Type Name Description
    PopupMenusManager manager
    System.Windows.Forms.Control control

    OnPopup(EventArgs)

    Declaration
    protected override void OnPopup(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    ProcessCmdKey(ref Message, Keys)

    Declaration
    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg
    System.Windows.Forms.Keys keyData
    Returns
    Type
    System.Boolean

    ReleaseContextMenuSettings()

    Declaration
    public void ReleaseContextMenuSettings()

    RemoveToolBar(XPToolBar)

    Declaration
    public void RemoveToolBar(XPToolBar toolBar)
    Parameters
    Type Name Description
    XPToolBar toolBar
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved