Class ConnectorAnnotationDragLimit
It allows the user to limit the dragging of Connector Annotation to a certain distance.
Inherited Members
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()