Class DiagramNativeBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramNativeBuilder
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 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 |