menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramSelectorBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DiagramSelectorBuilder
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramSelectorBuilder : ControlBuilder

    Constructors

    DiagramSelectorBuilder()

    Declaration
    public DiagramSelectorBuilder()

    DiagramSelectorBuilder(DiagramSelector)

    Declaration
    public DiagramSelectorBuilder(DiagramSelector model)
    Parameters
    Type Name Description
    DiagramSelector model

    Methods

    CanToggleSelection(Boolean)

    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 DiagramSelectorBuilder CanToggleSelection(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    DiagramSelectorBuilder

    Connectors(Object)

    Defines the collection of selected connectors

    Declaration
    public DiagramSelectorBuilder Connectors(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramSelectorBuilder

    Constraints(SelectorConstraints)

    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 DiagramSelectorBuilder Constraints(SelectorConstraints value)
    Parameters
    Type Name Description
    SelectorConstraints value
    Returns
    Type
    DiagramSelectorBuilder

    HandleSize(Double)

    Defines the size of the resize handler

    Declaration
    public DiagramSelectorBuilder HandleSize(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramSelectorBuilder

    Height(Double)

    Sets/Gets the height of the container

    Declaration
    public DiagramSelectorBuilder Height(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramSelectorBuilder

    Nodes(Object)

    Defines the collection of selected nodes

    Declaration
    public DiagramSelectorBuilder Nodes(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramSelectorBuilder

    OffsetX(Double)

    Sets the positionX of the container

    Declaration
    public DiagramSelectorBuilder OffsetX(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramSelectorBuilder

    OffsetY(Double)

    Sets the positionY of the container

    Declaration
    public DiagramSelectorBuilder OffsetY(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramSelectorBuilder

    Pivot(DiagramPoint)

    Sets the pivot of the selector

    Declaration
    public DiagramSelectorBuilder Pivot(DiagramPoint value)
    Parameters
    Type Name Description
    DiagramPoint value
    Returns
    Type
    DiagramSelectorBuilder

    Pivot(Action<DiagramPointBuilder>)

    Declaration
    public DiagramSelectorBuilder Pivot(Action<DiagramPointBuilder> pivot)
    Parameters
    Type Name Description
    System.Action<DiagramPointBuilder> pivot
    Returns
    Type
    DiagramSelectorBuilder

    RotateAngle(Double)

    Sets the rotate angle of the container

    Declaration
    public DiagramSelectorBuilder RotateAngle(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramSelectorBuilder

    RubberBandSelectionMode(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 DiagramSelectorBuilder RubberBandSelectionMode(RubberBandSelectionMode value)
    Parameters
    Type Name Description
    RubberBandSelectionMode value
    Returns
    Type
    DiagramSelectorBuilder

    SelectedObjects(Object)

    Defines the collection of selected nodes and connectors

    Declaration
    public DiagramSelectorBuilder SelectedObjects(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramSelectorBuilder

    SetTooltipTemplate(Object)

    setTooltipTemplate helps to customize the content of a tooltip

    Declaration
    public DiagramSelectorBuilder SetTooltipTemplate(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramSelectorBuilder

    SetTooltipTemplate(String)

    setTooltipTemplate helps to customize the content of a tooltip

    Declaration
    public DiagramSelectorBuilder SetTooltipTemplate(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramSelectorBuilder

    UserHandles(Action<DiagramUserHandleBuilder>)

    Declaration
    public DiagramSelectorBuilder UserHandles(Action<DiagramUserHandleBuilder> userHandles)
    Parameters
    Type Name Description
    System.Action<DiagramUserHandleBuilder> userHandles
    Returns
    Type
    DiagramSelectorBuilder

    UserHandles(List<DiagramUserHandle>)

    Defines the collection of user handle

    Declaration
    public DiagramSelectorBuilder UserHandles(List<DiagramUserHandle> value)
    Parameters
    Type Name Description
    System.Collections.Generic.List<DiagramUserHandle> value
    Returns
    Type
    DiagramSelectorBuilder

    Width(Double)

    Sets/Gets the width of the container

    Declaration
    public DiagramSelectorBuilder Width(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramSelectorBuilder

    Wrapper(Object)

    Defines the size and position of the container

    Declaration
    public DiagramSelectorBuilder Wrapper(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramSelectorBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved