Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

How do i specify only specific region in which the node can be dragged ? Tried with boundary constraints but there is some issue with it in blazor 

 152070.Tried to do using diagram events ,but allowdrop= false is not working and 
cancel= true is setting the node to original position

OnPositionChange="OnPositionChange"

  public void OnPositionChange(IBlazorDraggingEventArgs args)

{

  double newX = args.NewValue.OffsetX.GetValueOrDefault();

        double newY = args.NewValue.OffsetY.GetValueOrDefault();

        if(newX < 0 || newY < 0)

        {

            //args.Cancel = true;

            args.AllowDrop = false;

            return;

        }