WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuShowingEventArgs - WindowsForms API Reference | Syncfusion event. ">

    Show / Hide Table of Contents

    Class ContextMenuShowingEventArgs

    Provides data about the cancel-able event.

    Inheritance
    System.Object
    ContextMenuShowingEventArgs
    Namespace: Syncfusion.WinForms.Controls.Events
    Assembly: Syncfusion.Core.WinForms.dll
    Syntax
    [ComVisible(false)]
    public sealed class ContextMenuShowingEventArgs : CancelEventArgs

    Constructors

    ContextMenuShowingEventArgs(Point, ContextMenuStrip)

    Initializes a new instance of the ContextMenuShowingEventArgs class.

    Declaration
    public ContextMenuShowingEventArgs(Point point, ContextMenuStrip contextMenu)
    Parameters
    Type Name Description
    System.Drawing.Point point

    The mouse location in screen coordinates.

    System.Windows.Forms.ContextMenuStrip contextMenu

    The context menu strip that needs to be show on the given point.

    Properties

    ContextMenu

    Gets or sets the context menu strip that need to be displayed.

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

    Point

    Gets the screen coordinates of the mouse cursor.

    Declaration
    public Point Point { get; }
    Property Value
    Type Description
    System.Drawing.Point
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved