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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DiagramShapeDefaultsFillGradientSettingsStop : JsonObject

Inheritance: objectJsonObjectDiagramShapeDefaultsFillGradientSettingsStop

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

Constructors

C#
public DiagramShapeDefaultsFillGradientSettingsStop()

Properties

The color in any of the following formats:| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent', or '' (empty string) clears the fill.

C#
public string Color { get; set; }

The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).

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

The fill opacity. Ranges from 0 (completely transparent) to 1 (opaque).

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

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)