WinForms

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

    Show / Hide Table of Contents

    Class ShowContextMenuEventArgs

    Provides data about the cancellable ShowContextMenu event.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    ShowContextMenuEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public sealed class ShowContextMenuEventArgs : SyncfusionCancelEventArgs
    Remarks

    ShowContextMenuEventArgs is a custom event argument class used by the ShowContextMenu event when the user right-clicks inside the control.

    You can cancel showing a context menu when you assign True to System.ComponentModel.CancelEventArgs.Cancel.

    Constructors

    ShowContextMenuEventArgs(Point)

    Initializes a new object.

    Declaration
    public ShowContextMenuEventArgs(Point point)
    Parameters
    Type Name Description
    System.Drawing.Point point

    The mouse location in screen coordinates.

    Properties

    Point

    Returns the mouse location in screen coordinates.

    Declaration
    [TraceProperty(true)]
    public Point Point { get; }
    Property Value
    Type Description
    System.Drawing.Point
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved