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.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLegendItemSettingsBuilder

Inheritance: objectSankeyLegendItemSettingsBuilder

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

Constructors

C#
public SankeyLegendItemSettingsBuilder(SankeyLegendItemSettings settings)
Parameters:settingsSankeyLegendItemSettings

The SankeyLegendItemSettings

Methods

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 SankeyLegendItemSettingsBuilder AreaBackground(string value)
Parameters:valuestring

The value that configures the areabackground.

Returns:

SankeyLegendItemSettingsBuilder

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

C#
public SankeyLegendItemSettingsBuilder AreaOpacity(double value)
Parameters:valuedouble

The value that configures the areaopacity.

Returns:

SankeyLegendItemSettingsBuilder

The cursor style of the legend item.

C#
public SankeyLegendItemSettingsBuilder Cursor(string value)
Parameters:valuestring

The value that configures the cursor.

Returns:

SankeyLegendItemSettingsBuilder

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 SankeyLegendItemSettingsBuilder Visual(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The value that configures the visual action.

Returns:

SankeyLegendItemSettingsBuilder

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 SankeyLegendItemSettingsBuilder Visual(string handler)
Parameters:handlerstring

The value that configures the visual action.

Returns:

SankeyLegendItemSettingsBuilder