Class DiagramGradient
Inheritance
System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramGradient
      
      
  Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramGradient : EJTagHelper
  Constructors
DiagramGradient()
Declaration
public DiagramGradient()
  Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
  Property Value
| Type | 
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> | 
Id
Defines the id of gradient
Declaration
public override string Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The default value is ""  | 
      
Overrides
Syncfusion.EJ2.EJTagHelper.Id
  
  
  
  Stops
Defines the stop collection of gradient
Declaration
public List<DiagramStop> Stops { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<DiagramStop> | The default value is null  | 
      
Type
Defines the type of gradient Linear - Sets the type of the gradient as Linear Radial - Sets the type of the gradient as Radial
Declaration
public GradientType Type { get; set; }
  Property Value
| Type | Description | 
|---|---|
| GradientType | The default value is GradientType.None  |