menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramDecorator

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

    Constructors

    DiagramDecorator()

    Declaration
    public DiagramDecorator()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Height

    Sets the height of the decorator

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

    The default value is 10

    PathData

    Defines the geometry of the decorator shape

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

    The default value is ""

    Pivot

    Defines the position of the decorator with respect to the source/target point of the connector

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

    The default value is null

    Shape

    Declaration
    public DecoratorShapes Shape { get; set; }
    Property Value
    Type Description
    DecoratorShapes

    The default value is null

    Style

    Defines the appearance of the decorator

    Declaration
    public DiagramShapeStyle Style { get; set; }
    Property Value
    Type Description
    DiagramShapeStyle

    The default value is null

    Width

    Sets the width of the decorator

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

    The default value is 10

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