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

Defines the fluent API for configuring SankeyLegendItemSettings

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

SankeyLegendItemSettingsBuilder method.

C#
public SankeyLegendItemSettingsBuilder(SankeyLegendItemSettings container)
Parameters:containerSankeyLegendItemSettings

Properties

Gets the settings being configured.

C#
protected SankeyLegendItemSettings Container { get; }

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 for AreaBackground

Returns:

SankeyLegendItemSettingsBuilder

Returns the current SankeyLegendItemSettingsBuilder instance.

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

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

The value for AreaOpacity

Returns:

SankeyLegendItemSettingsBuilder

Returns the current SankeyLegendItemSettingsBuilder instance.

The cursor style of the legend item.

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

The value for Cursor

Returns:

SankeyLegendItemSettingsBuilder

Returns the current SankeyLegendItemSettingsBuilder instance.

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 handler code wrapped in a text tag.

Returns:

SankeyLegendItemSettingsBuilder

Returns the current SankeyLegendItemSettingsBuilder instance.

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 name of the JavaScript function that will be evaluated.

Returns:

SankeyLegendItemSettingsBuilder

Returns the current SankeyLegendItemSettingsBuilder instance.