menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramHeaderBuilder

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

    Constructors

    DiagramHeaderBuilder()

    Declaration
    public DiagramHeaderBuilder()

    DiagramHeaderBuilder(DiagramHeader)

    Declaration
    public DiagramHeaderBuilder(DiagramHeader model)
    Parameters
    Type Name Description
    DiagramHeader model

    Methods

    Annotation(DiagramAnnotation)

    Sets the content of the header

    Declaration
    public DiagramHeaderBuilder Annotation(DiagramAnnotation value)
    Parameters
    Type Name Description
    DiagramAnnotation value
    Returns
    Type
    DiagramHeaderBuilder

    Annotation(Action<DiagramAnnotationBuilder>)

    Declaration
    public DiagramHeaderBuilder Annotation(Action<DiagramAnnotationBuilder> annotation)
    Parameters
    Type Name Description
    System.Action<DiagramAnnotationBuilder> annotation
    Returns
    Type
    DiagramHeaderBuilder

    Height(Double)

    Sets the height of the header

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

    Id(String)

    Sets the id of the header

    Declaration
    public DiagramHeaderBuilder Id(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramHeaderBuilder

    Style(DiagramShapeStyle)

    Sets the style of the header

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

    Style(Action<DiagramShapeStyleBuilder>)

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

    Width(Double)

    Sets the width of the header

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