menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class DiagramGradient

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramGradient
    ShapeAnnotationGradientStyle
    ShapeStyleGradientStyle
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved