Class DiagramText
Inheritance
System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramText
  Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramText : EJTagHelper
  Constructors
DiagramText()
Declaration
public DiagramText()
  Properties
Content
Defines the content of a text
Declaration
public string Content { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is ""  | 
      
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
  Property Value
| Type | 
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> | 
Margin
Defines the space to be let between the node and its immediate parent
Declaration
public DiagramMargin Margin { get; set; }
  Property Value
| Type | Description | 
|---|---|
| DiagramMargin | The default value is null  | 
      
Type
Defines the type of node shape
Declaration
public Shapes Type { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Shapes | The default value is Shapes.Basic  |