menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramInteractions - API Reference

    Show / Hide Table of Contents

    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 Description
    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 Description
    DiagramInteractions

    DrawOnce

    It enables users to draw the drawing objects at once.

    Declaration
    public const DiagramInteractions DrawOnce
    Field Value
    Type Description
    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 Description
    DiagramInteractions

    None

    It disables the selection, zooming, and interaction behavior of the diagram.

    Declaration
    public const DiagramInteractions None
    Field Value
    Type Description
    DiagramInteractions

    SingleSelect

    It allows users to select one node or connector at a time.

    Declaration
    public const DiagramInteractions SingleSelect
    Field Value
    Type Description
    DiagramInteractions

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    ZoomPan

    It allows users to pan the diagram.

    Declaration
    public const DiagramInteractions ZoomPan
    Field Value
    Type Description
    DiagramInteractions
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved