WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuOpeningEventArgs

    Show / Hide Table of Contents

    Class ContextMenuOpeningEventArgs

    Provides data about the ContextMenuOpening event.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    ContextMenuOpeningEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ContextMenuOpeningEventArgs : SyncfusionCancelEventArgs

    Constructors

    ContextMenuOpeningEventArgs(ContextMenuStrip, TabPageAdv, Point)

    Initializes an instance of the ContextMenuOpeningEventArgs class.

    Declaration
    public ContextMenuOpeningEventArgs(ContextMenuStrip contextMenu, TabPageAdv tab, Point Location)
    Parameters
    Type Name Description
    System.Windows.Forms.ContextMenuStrip contextMenu
    TabPageAdv tab

    The tab page in which the context menu to be shown.

    System.Drawing.Point Location

    The location of context menu.

    Properties

    ContextMenu

    Gets or sets the context menu associated with tab.

    Declaration
    public ContextMenuStrip ContextMenu { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ContextMenuStrip

    Location

    Gets or sets the location of the context menu.

    Declaration
    public Point Location { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    Tab

    Gets the tab in which the context menu is showing.

    Declaration
    public TabPageAdv Tab { get; }
    Property Value
    Type Description
    TabPageAdv
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved