alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DiagramElementMouseEventArgs

    Notifies when the mouse events such as mouse enter, mouse leave, and mouseover are detected.

    Inheritance
    object
    DiagramElementMouseEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DiagramElementMouseEventArgs
    Examples
    <SfDiagramComponent Width="1000px" Height="1000px"  MouseEnter="@MouseEnter">
    </SfDiagramComponent>
    @code
    {
      private void MouseEnter(DiagramElementMouseEventArgs args)
      {
        if ((args != null) && (args.ActualObject != null))
        {
            Console.WriteLine("Mouse Entered");
        }
      }
    }

    Constructors

    DiagramElementMouseEventArgs()

    Declaration
    public DiagramElementMouseEventArgs()

    Properties

    ActualObject

    Gets the object such as a node or connector when it is dragged from the symbol palette into the diagram.

    Declaration
    public IDiagramObject? ActualObject { get; }
    Property Value
    Type Description
    IDiagramObject

    The diagram object that is being dragged from the symbol palette into the diagram.

    Element

    Gets the helper element from the symbol palette into the diagram while dragging

    Declaration
    public IDiagramObject? Element { get; }
    Property Value
    Type
    IDiagramObject

    Targets

    Gets the collection of objects over which the selected items are dragged

    Declaration
    public ObservableCollection<IDiagramObject>? Targets { get; }
    Property Value
    Type Description
    ObservableCollection<IDiagramObject>

    The collection of diagram objects that the selected items are being dragged over.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved