New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI DiagramShapeFillGradientSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramShapeFillGradientSettings<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramShapeFillGradientSettings()

Properties

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

C#
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }

The radius of the radial gradient relative to the shape bounding box.

C#
public double? Radius { get; set; }

Stops

List<DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel>>

The array of gradient color stops.

C#
public List<DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel>> Stops { get; set; }

The type of the gradient. The supported values are: linear or radial.

C#
public string Type { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>