menu

Blazor

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

    Show / Hide Table of Contents

    Class DragLeaveEventArgs

    Notifies when the element leaves the diagram.

    Inheritance
    System.Object
    DragLeaveEventArgs
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DragLeaveEventArgs : Object
    Examples
    <SfDiagramComponent  DragLeave="DragLeave">
    </SfDiagramComponent>
    private void DragLeave(DragLeaveEventArgs args)
    {
        if (args.Element is Node)
        {
            (args.Element as Node).Width = 300;
            (args.Element as Node).Height = 300;
        }
    }

    Constructors

    DragLeaveEventArgs()

    Declaration
    public DragLeaveEventArgs()

    Properties

    Element

    Gets the node or connector that is dragged outside the diagram.

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

    The IDiagramObject representing the node or connector being dragged outside the diagram.

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