Class PositionChangingEventArgs
Notifies before the node or connector is dragging or its position is changing.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class PositionChangingEventArgs : PositionChangedEventArgs
Examples
<SfDiagramComponent PositionChanging="@changed">
</SfDiagramComponent>
private void changed(PositionChangingEventArgs args)
{
if (args.NewValue != null && args.OldValue != null && args.Element != null)
{
Console.WriteLine("Changing");
}
}
Constructors
PositionChangingEventArgs()
Declaration
public PositionChangingEventArgs()
Properties
Cancel
Gets or sets the value that indicates the user prevents dragging of element over the diagram.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|