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