menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramGradientBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DiagramGradientBuilder
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramGradientBuilder : ControlBuilder

    Constructors

    DiagramGradientBuilder()

    Declaration
    public DiagramGradientBuilder()

    DiagramGradientBuilder(DiagramGradient)

    Declaration
    public DiagramGradientBuilder(DiagramGradient model)
    Parameters
    Type Name Description
    DiagramGradient model

    Methods

    Id(String)

    Defines the id of gradient

    Declaration
    public DiagramGradientBuilder Id(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramGradientBuilder

    Stops(Action<DiagramStopBuilder>)

    Declaration
    public DiagramGradientBuilder Stops(Action<DiagramStopBuilder> stops)
    Parameters
    Type Name Description
    System.Action<DiagramStopBuilder> stops
    Returns
    Type
    DiagramGradientBuilder

    Stops(List<DiagramStop>)

    Defines the stop collection of gradient

    Declaration
    public DiagramGradientBuilder Stops(List<DiagramStop> value)
    Parameters
    Type Name Description
    System.Collections.Generic.List<DiagramStop> value
    Returns
    Type
    DiagramGradientBuilder

    Type(GradientType)

    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 DiagramGradientBuilder Type(GradientType value)
    Parameters
    Type Name Description
    GradientType value
    Returns
    Type
    DiagramGradientBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved