menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramNativeBuilder

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

    Constructors

    DiagramNativeBuilder()

    Declaration
    public DiagramNativeBuilder()

    DiagramNativeBuilder(DiagramNative)

    Declaration
    public DiagramNativeBuilder(DiagramNative model)
    Parameters
    Type Name Description
    DiagramNative model

    Methods

    Content(Object)

    Defines the geometry of a native element.

    Declaration
    public DiagramNativeBuilder Content(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramNativeBuilder

    Content(String)

    Defines the geometry of a native element.

    Declaration
    public DiagramNativeBuilder Content(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramNativeBuilder

    Scale(Stretch)

    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 DiagramNativeBuilder Scale(Stretch value)
    Parameters
    Type Name Description
    Stretch value
    Returns
    Type
    DiagramNativeBuilder

    Type(Shapes)

    Defines the type of node shape.

    Declaration
    public DiagramNativeBuilder Type(Shapes value)
    Parameters
    Type Name Description
    Shapes value
    Returns
    Type
    DiagramNativeBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved