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

Defines the fluent API for configuring the SankeyLegendItemSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLegendItemSettings : JsonObject

Inheritance: objectJsonObjectSankeyLegendItemSettings

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

Constructors

Initialization for the SankeyLegendItemSettings

C#
public SankeyLegendItemSettings()

Properties

The background color of the legend item square element. Accepts a valid CSS color string, including HEX and RGB. Defaults to the corresponding node color.

C#
public string AreaBackground { get; set; }

The opacity of the legend item square element. Defaults to the corresponding node opacity.

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

The cursor style of the legend item.

C#
public string Cursor { get; set; }

A function that can be used to create a custom visual for the legend items. The available argument fields are: options—The item options. or createVisual—A function for getting the default visual..

C#
public ClientHandlerDescriptor Visual { get; set; }

Methods

Serialize current instance to Dictionary

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

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