menu

UWP

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

    Show / Hide Table of Contents

    Class MenuOpeningEventArgs

    Provides data for MenuOpeningEvent of the diagram.

    Inheritance
    System.Object
    MenuOpeningEventArgs
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class MenuOpeningEventArgs : EventArgs

    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
    System.Boolean

    CursorLeft

    Gets the horizontal position of the mouse.

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

    CursorTop

    Gets the vertical position of the mouse.

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

    Source

    Gets a reference to the object that raised the event.

    Declaration
    public object Source { get; }
    Property Value
    Type
    System.Object

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved