menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramBasicShape

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

    Constructors

    DiagramBasicShape()

    Declaration
    public DiagramBasicShape()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

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

    CornerRadius

    Sets the corner of the node

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

    The default value is 0

    Points

    Defines the collection of points to draw a polygon

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

    The default value is null

    Shape

    Defines the type of the basic shape Rectangle - Sets the type of the basic shape as Rectangle Ellipse - Sets the type of the basic shape as Ellipse Hexagon - Sets the type of the basic shape as Hexagon Parallelogram - Sets the type of the basic shape as Parallelogram Triangle - Sets the type of the basic shape as Triangle Plus - Sets the type of the basic shape as Plus Star - Sets the type of the basic shape as Star Pentagon - Sets the type of the basic shape as Pentagon Heptagon - Sets the type of the basic shape as Heptagon Octagon - Sets the type of the basic shape as Octagon Trapezoid - Sets the type of the basic shape as Trapezoid Decagon - Sets the type of the basic shape as Decagon RightTriangle - Sets the type of the basic shape as RightTriangle Cylinder - Sets the type of the basic shape as Cylinder Diamond - Sets the type of the basic shape as Diamond

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

    The default value is BasicShapes.Rectangle

    Type

    Defines the type of node shape

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

    The default value is Shapes.Basic

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