menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramDecoratorBuilder

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

    Constructors

    DiagramDecoratorBuilder()

    Declaration
    public DiagramDecoratorBuilder()

    DiagramDecoratorBuilder(DiagramDecorator)

    Declaration
    public DiagramDecoratorBuilder(DiagramDecorator model)
    Parameters
    Type Name Description
    DiagramDecorator model

    Methods

    Height(Double)

    Sets the height of the decorator

    Declaration
    public DiagramDecoratorBuilder Height(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramDecoratorBuilder

    PathData(String)

    Defines the geometry of the decorator shape

    Declaration
    public DiagramDecoratorBuilder PathData(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramDecoratorBuilder

    Pivot(DiagramPoint)

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

    Declaration
    public DiagramDecoratorBuilder Pivot(DiagramPoint value)
    Parameters
    Type Name Description
    DiagramPoint value
    Returns
    Type
    DiagramDecoratorBuilder

    Pivot(Action<DiagramPointBuilder>)

    Declaration
    public DiagramDecoratorBuilder Pivot(Action<DiagramPointBuilder> pivot)
    Parameters
    Type Name Description
    System.Action<DiagramPointBuilder> pivot
    Returns
    Type
    DiagramDecoratorBuilder

    Shape(DecoratorShapes)

    Declaration
    public DiagramDecoratorBuilder Shape(DecoratorShapes value)
    Parameters
    Type Name Description
    DecoratorShapes value
    Returns
    Type
    DiagramDecoratorBuilder

    Style(DiagramShapeStyle)

    Defines the appearance of the decorator

    Declaration
    public DiagramDecoratorBuilder Style(DiagramShapeStyle value)
    Parameters
    Type Name Description
    DiagramShapeStyle value
    Returns
    Type
    DiagramDecoratorBuilder

    Style(Action<DiagramShapeStyleBuilder>)

    Declaration
    public DiagramDecoratorBuilder Style(Action<DiagramShapeStyleBuilder> style)
    Parameters
    Type Name Description
    System.Action<DiagramShapeStyleBuilder> style
    Returns
    Type
    DiagramDecoratorBuilder

    Width(Double)

    Sets the width of the decorator

    Declaration
    public DiagramDecoratorBuilder Width(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramDecoratorBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved