menu

Blazor

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

    Show / Hide Table of Contents

    Class PolylineDrawingController

    Represents the class that is used to draw a polyline connector dynamically using the PolyLine Drawing Tool.

    Inheritance
    System.Object
    CommonController
    InteractionControllerBase
    PolylineDrawingController
    Inherited Members
    InteractionControllerBase.CurrentPosition
    InteractionControllerBase.InAction
    InteractionControllerBase.OnMouseLeave(DiagramMouseEventArgs)
    InteractionControllerBase.PreviousPosition
    InteractionControllerBase.StartPosition
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PolylineDrawingController : InteractionControllerBase

    Constructors

    PolylineDrawingController(SfDiagramComponent)

    Initializes a new instance of the PolylineDrawingController class.

    Declaration
    public PolylineDrawingController(SfDiagramComponent diagram)
    Parameters
    Type Name Description
    SfDiagramComponent diagram

    It provides sfdiagramcomponent

    Methods

    OnMouseDown(DiagramMouseEventArgs)

    This method triggers when a mouse down event occurs with a drawing tool and PolyLine type in the diagram.

    Declaration
    public override void OnMouseDown(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    DiagramMouseEventArgs

    Overrides
    InteractionControllerBase.OnMouseDown(DiagramMouseEventArgs)

    OnMouseMove(DiagramMouseEventArgs)

    This method triggers when a mouse move event occurs with a drawing tool and PolyLine type in the diagram.

    Declaration
    public override bool OnMouseMove(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    DiagramMouseEventArgs

    Returns
    Type Description
    System.Boolean

    Blocked

    Overrides
    InteractionControllerBase.OnMouseMove(DiagramMouseEventArgs)

    OnMouseUp(DiagramMouseEventArgs)

    This method triggers when a mouse-up event occurs with a drawing tool and PolyLine type in the diagram.

    Declaration
    public override void OnMouseUp(DiagramMouseEventArgs args)
    Parameters
    Type Name Description
    DiagramMouseEventArgs args

    DiagramMouseEventArgs

    Overrides
    InteractionControllerBase.OnMouseUp(DiagramMouseEventArgs)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved