menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramUserHandle

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

    Constructors

    DiagramUserHandle()

    Declaration
    public DiagramUserHandle()

    Properties

    BackgroundColor

    Defines the background color of user Handle

    Declaration
    public string BackgroundColor { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "black"

    BorderColor

    Defines the borderColor of user Handle

    Declaration
    public string BorderColor { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    BorderWidth

    Defines the borderWidth of user Handle

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

    The default value is 0.5

    Content

    Defines the custom content of the user handle

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    DisableConnectors

    Defines the visible of user Handle

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

    The default value is false

    DisableNodes

    Defines the visible of user Handle

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

    The default value is false

    Displacement

    Defines the displacement of user Handle

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

    The default value is 10

    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 HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment

    The default value is HorizontalAlignment.Center

    Margin

    Defines the margin of the user handle

    Declaration
    public DiagramMargin Margin { get; set; }
    Property Value
    Type Description
    DiagramMargin

    The default value is null

    Name

    Defines the name of user Handle

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Offset

    Defines the offset of user Handle

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

    The default value is 0

    PathColor

    Defines the path color of user Handle

    Declaration
    public string PathColor { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "white"

    PathData

    Defines the path data of user Handle

    Declaration
    public string PathData { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    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 Side Side { get; set; }
    Property Value
    Type Description
    Side

    The default value is Syncfusion.EJ2.Diagrams.Side.Top

    Size

    Defines the size of user Handle

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

    The default value is 25

    Source

    Defines the image source of the user handle

    Declaration
    public string Source { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Tooltip

    Used to show tooltip for user handle on mouse over.

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

    The default value is null

    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 VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    VerticalAlignment

    The default value is VerticalAlignment.Center

    Visible

    Defines the visible of user Handle

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

    The default value is true

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