menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramUserHandleBuilder

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

    Constructors

    DiagramUserHandleBuilder()

    Declaration
    public DiagramUserHandleBuilder()

    DiagramUserHandleBuilder(List<DiagramUserHandle>)

    Declaration
    public DiagramUserHandleBuilder(List<DiagramUserHandle> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<DiagramUserHandle> collection

    Methods

    Add()

    Declaration
    public void Add()

    BackgroundColor(String)

    Defines the background color of user Handle

    Declaration
    public DiagramUserHandleBuilder BackgroundColor(string backgroundColor)
    Parameters
    Type Name Description
    System.String backgroundColor
    Returns
    Type
    DiagramUserHandleBuilder

    BorderColor(String)

    Defines the borderColor of user Handle

    Declaration
    public DiagramUserHandleBuilder BorderColor(string borderColor)
    Parameters
    Type Name Description
    System.String borderColor
    Returns
    Type
    DiagramUserHandleBuilder

    BorderWidth(Double)

    Defines the borderWidth of user Handle

    Declaration
    public DiagramUserHandleBuilder BorderWidth(double borderWidth)
    Parameters
    Type Name Description
    System.Double borderWidth
    Returns
    Type
    DiagramUserHandleBuilder

    Content(String)

    Defines the custom content of the user handle

    Declaration
    public DiagramUserHandleBuilder Content(string content)
    Parameters
    Type Name Description
    System.String content
    Returns
    Type
    DiagramUserHandleBuilder

    DisableConnectors(Boolean)

    Defines the visible of user Handle

    Declaration
    public DiagramUserHandleBuilder DisableConnectors(bool disableConnectors)
    Parameters
    Type Name Description
    System.Boolean disableConnectors
    Returns
    Type
    DiagramUserHandleBuilder

    DisableNodes(Boolean)

    Defines the visible of user Handle

    Declaration
    public DiagramUserHandleBuilder DisableNodes(bool disableNodes)
    Parameters
    Type Name Description
    System.Boolean disableNodes
    Returns
    Type
    DiagramUserHandleBuilder

    Displacement(Double)

    Defines the displacement of user Handle

    Declaration
    public DiagramUserHandleBuilder Displacement(double displacement)
    Parameters
    Type Name Description
    System.Double displacement
    Returns
    Type
    DiagramUserHandleBuilder

    HorizontalAlignment(HorizontalAlignment)

    Defines the horizontal alignment of the user handle Stretch - Stretches the diagram element throughout its immediate parent Left - Aligns the diagram element at the left of its immediate parent Right - Aligns the diagram element at the right of its immediate parent Center - Aligns the diagram element at the center of its immediate parent Auto - Aligns the diagram element based on the characteristics of its immediate parent

    Declaration
    public DiagramUserHandleBuilder HorizontalAlignment(HorizontalAlignment horizontalAlignment)
    Parameters
    Type Name Description
    HorizontalAlignment horizontalAlignment
    Returns
    Type
    DiagramUserHandleBuilder

    Margin(DiagramMargin)

    Defines the margin of the user handle

    Declaration
    public DiagramUserHandleBuilder Margin(DiagramMargin margin)
    Parameters
    Type Name Description
    DiagramMargin margin
    Returns
    Type
    DiagramUserHandleBuilder

    Margin(Action<DiagramMarginBuilder>)

    Declaration
    public DiagramUserHandleBuilder Margin(Action<DiagramMarginBuilder> margin)
    Parameters
    Type Name Description
    System.Action<DiagramMarginBuilder> margin
    Returns
    Type
    DiagramUserHandleBuilder

    Name(String)

    Defines the name of user Handle

    Declaration
    public DiagramUserHandleBuilder Name(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    DiagramUserHandleBuilder

    Offset(Double)

    Defines the offset of user Handle

    Declaration
    public DiagramUserHandleBuilder Offset(double offset)
    Parameters
    Type Name Description
    System.Double offset
    Returns
    Type
    DiagramUserHandleBuilder

    PathColor(String)

    Defines the path color of user Handle

    Declaration
    public DiagramUserHandleBuilder PathColor(string pathColor)
    Parameters
    Type Name Description
    System.String pathColor
    Returns
    Type
    DiagramUserHandleBuilder

    PathData(String)

    Defines the path data of user Handle

    Declaration
    public DiagramUserHandleBuilder PathData(string pathData)
    Parameters
    Type Name Description
    System.String pathData
    Returns
    Type
    DiagramUserHandleBuilder

    Side(Side)

    Defines the position of user Handle Top - Aligns the user handles at the top of an object Bottom - Aligns the user handles at the bottom of an object Left - Aligns the user handles at the left of an object Right - Aligns the user handles at the right of an object

    Declaration
    public DiagramUserHandleBuilder Side(Side side)
    Parameters
    Type Name Description
    Side side
    Returns
    Type
    DiagramUserHandleBuilder

    Size(Double)

    Defines the size of user Handle

    Declaration
    public DiagramUserHandleBuilder Size(double size)
    Parameters
    Type Name Description
    System.Double size
    Returns
    Type
    DiagramUserHandleBuilder

    Source(String)

    Defines the image source of the user handle

    Declaration
    public DiagramUserHandleBuilder Source(string source)
    Parameters
    Type Name Description
    System.String source
    Returns
    Type
    DiagramUserHandleBuilder

    Tooltip(Object)

    Used to show tooltip for user handle on mouse over.

    Declaration
    public DiagramUserHandleBuilder Tooltip(object tooltip)
    Parameters
    Type Name Description
    System.Object tooltip
    Returns
    Type
    DiagramUserHandleBuilder

    VerticalAlignment(VerticalAlignment)

    Defines the vertical alignment of the user handle Stretch - Stretches the diagram element throughout its immediate parent Top - Aligns the diagram element at the top of its immediate parent Bottom - Aligns the diagram element at the bottom of its immediate parent Center - Aligns the diagram element at the center of its immediate parent Auto - Aligns the diagram element based on the characteristics of its immediate parent

    Declaration
    public DiagramUserHandleBuilder VerticalAlignment(VerticalAlignment verticalAlignment)
    Parameters
    Type Name Description
    VerticalAlignment verticalAlignment
    Returns
    Type
    DiagramUserHandleBuilder

    Visible(Boolean)

    Defines the visible of user Handle

    Declaration
    public DiagramUserHandleBuilder Visible(bool visible)
    Parameters
    Type Name Description
    System.Boolean visible
    Returns
    Type
    DiagramUserHandleBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved