menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class DiagramNative

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

    Constructors

    DiagramNative()

    Declaration
    public DiagramNative()

    Properties

    Content

    Defines the geometry of a native element.

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

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Scale

    Defines the scale of the native element. None - Sets the stretch type for diagram as None Stretch - Sets the stretch type for diagram as Stretch Meet - Sets the stretch type for diagram as Meet Slice - Sets the stretch type for diagram as Slice

    Declaration
    public Stretch Scale { get; set; }
    Property Value
    Type Description
    Stretch

    The default value is Stretch.Stretch

    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