Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectorAnnotationDragLimit - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConnectorAnnotationDragLimit

    It allows the user to limit the dragging of Connector Annotation to a certain distance.

    Inheritance
    System.Object
    SfDiagramBase
    DiagramMargin
    ConnectorAnnotationDragLimit
    Inherited Members
    DiagramMargin.Bottom
    DiagramMargin.Left
    DiagramMargin.Right
    DiagramMargin.Top
    SfDiagramBase.UpdateCollection(IList, Boolean)
    SfDiagramBase.RandomString(Int32)
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ConnectorAnnotationDragLimit : DiagramMargin
    Examples
    <SfDiagram Height="600px" Connectors="@ConnectorCollection">    
    </SfDiagram> 
    @code  
    {  
      Annotations = new ObservableCollection<DiagramConnectorAnnotation>()
        {
            new DiagramConnectorAnnotation()
            {
             Content = "Annotation", Constraints = AnnotationConstraints.Select | AnnotationConstraints.Drag,
             DragLimit = new ConnectorAnnotationDragLimit() { Left = 10, Top = 10, Right = 10, Bottom = 10 } 
             },
         }
     }

    Constructors

    ConnectorAnnotationDragLimit()

    It allows the user to limit the dragging of Connector Annotation to a certain distance.

    Declaration
    public ConnectorAnnotationDragLimit()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved