Class DiagramInteractions
Allows the users to customize the selection, zooming, and interaction behavior of the diagram.
Inheritance
System.Object
DiagramInteractions
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class DiagramInteractions : Enum
Examples
<SfDiagramComponent Width="1000px" Height="1000px" DiagramInteractions="Tools" >
</SfDiagramComponent>
@code
{
DiagramInteractions Tools = DiagramInteractions.ContinuousDraw;
}
Fields
ContinuousDraw
It enables users to draw the drawing objects continuously.
Declaration
public const DiagramInteractions ContinuousDraw
Field Value
Type |
---|
DiagramInteractions |
Default
By default, it allows users to select an individual as well as multiple nodes and connectors.
Declaration
public const DiagramInteractions Default
Field Value
Type |
---|
DiagramInteractions |
DrawOnce
It enables users to draw the drawing objects at once.
Declaration
public const DiagramInteractions DrawOnce
Field Value
Type |
---|
DiagramInteractions |
MultipleSelect
It allows users to select multiple nodes and connectors. It won't allow selecting a single node/connector.
Declaration
public const DiagramInteractions MultipleSelect
Field Value
Type |
---|
DiagramInteractions |
None
It disables the selection, zooming, and interaction behavior of the diagram.
Declaration
public const DiagramInteractions None
Field Value
Type |
---|
DiagramInteractions |
SingleSelect
It allows users to select one node or connector at a time.
Declaration
public const DiagramInteractions SingleSelect
Field Value
Type |
---|
DiagramInteractions |
ZoomPan
It allows users to pan the diagram.
Declaration
public const DiagramInteractions ZoomPan
Field Value
Type |
---|
DiagramInteractions |