Class DiagramHeaderBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramHeaderBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.AspNetMvc.Diagram.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 |