WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MenuOpeningEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MenuOpeningEventArgs

    Provides data for MenuOpeningEvent of the diagram.

    Inheritance
    System.Object
    MenuOpeningEventArgs
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class MenuOpeningEventArgs

    Constructors

    MenuOpeningEventArgs(Object, Double, Double)

    Initializes a new instance of the MenuOpeningEventArgs class.

    Declaration
    public MenuOpeningEventArgs(object source, double cursorleft, double cursortop)
    Parameters
    Type Name Description
    System.Object source

    Reference to the object that raised the event.

    System.Double cursorleft

    The horizontal position of the mouse.

    System.Double cursortop

    The vertical position of the mouse.

    Properties

    Cancel

    Gets or sets the value indicates whether the contextmenu is open.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    CursorLeft

    Gets the horizontal position of the mouse.

    Declaration
    public double CursorLeft { get; }
    Property Value
    Type Description
    System.Double

    CursorTop

    Gets the vertical position of the mouse.

    Declaration
    public double CursorTop { get; }
    Property Value
    Type Description
    System.Double

    Source

    Gets a reference to the object that raised the event.

    Declaration
    public object Source { get; }
    Property Value
    Type Description
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved