menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramSelector - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramSelector

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramSelector
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramSelector : EJTagHelper

    Constructors

    DiagramSelector()

    Declaration
    public DiagramSelector()

    Properties

    CanToggleSelection

    Specifies whether the selection state of the diagram element should be toggled based on a mouse click at runtime. The default value is false.

    Declaration
    public bool CanToggleSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Connectors

    Defines the collection of selected connectors

    Declaration
    public object Connectors { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Constraints

    Controls the visibility of selector. None - Hides all the selector elements ConnectorSourceThumb - Shows/hides the source thumb of the connector ConnectorTargetThumb - Shows/hides the target thumb of the connector ResizeSouthEast - Shows/hides the bottom right resize handle of the selector ResizeSouthWest - Shows/hides the bottom left resize handle of the selector ResizeNorthEast - Shows/hides the top right resize handle of the selector ResizeNorthWest - Shows/hides the top left resize handle of the selector ResizeEast - Shows/hides the middle right resize handle of the selector ResizeWest - Shows/hides the middle left resize handle of the selector ResizeSouth - Shows/hides the bottom center resize handle of the selector ResizeNorth - Shows/hides the top center resize handle of the selector Rotate - Shows/hides the rotate handle of the selector UserHandles - Shows/hides the user handles of the selector Resize - Shows/hides all resize handles of the selector

    Declaration
    public SelectorConstraints Constraints { get; set; }
    Property Value
    Type Description
    SelectorConstraints

    The default value is SelectorConstraints.All

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    HandleSize

    Defines the size of the resize handler

    Declaration
    public double HandleSize { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 14

    Height

    Sets/Gets the height of the container

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is NaN

    Nodes

    Defines the collection of selected nodes

    Declaration
    public object Nodes { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    OffsetX

    Sets the positionX of the container

    Declaration
    public double OffsetX { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    OffsetY

    Sets the positionY of the container

    Declaration
    public double OffsetY { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    Pivot

    Sets the pivot of the selector

    Declaration
    public DiagramPoint Pivot { get; set; }
    Property Value
    Type Description
    DiagramPoint

    The default value is null

    RotateAngle

    Sets the rotate angle of the container

    Declaration
    public double RotateAngle { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

    RubberBandSelectionMode

    Defines how to pick the objects to be selected using rubber band selection CompleteIntersect - Selects the objects that are contained within the selected region PartialIntersect - Selects the objects that are partially intersected with the selected region

    Declaration
    public RubberBandSelectionMode RubberBandSelectionMode { get; set; }
    Property Value
    Type Description
    RubberBandSelectionMode

    The default value is RubberBandSelectionMode.CompleteIntersect

    SelectedObjects

    Defines the collection of selected nodes and connectors

    Declaration
    public object SelectedObjects { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    SetTooltipTemplate

    setTooltipTemplate helps to customize the content of a tooltip

    Declaration
    public object SetTooltipTemplate { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    UserHandles

    Defines the collection of user handle

    Declaration
    public List<DiagramUserHandle> UserHandles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DiagramUserHandle>

    The default value is null

    Width

    Sets/Gets the width of the container

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is NaN

    Wrapper

    Defines the size and position of the container

    Declaration
    public object Wrapper { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved