Class DraggingEventArgs
Notifies when an element drags over another diagram element.
Inheritance
System.Object
DraggingEventArgs
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class DraggingEventArgs : Object
Examples
<SfDiagramComponent Dragging="Dragging">
</SfDiagramComponent>
private void Dragging(DraggingEventArgs args)
{
if (args.Element is DiagramSelectionSettings)
{
DiagramSelectionSettings selector = args.Element as DiagramSelectionSettings;
}
}
Constructors
DraggingEventArgs()
Declaration
public DraggingEventArgs()
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. |
Position
Gets the mouse position of the node/connector.
Declaration
public DiagramPoint Position { get; }
Property Value
Type | Description |
---|---|
DiagramPoint | The DiagramPoint representing the mouse position of the node or connector. |