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

Defines the fluent API for configuring the SankeyLegendLabelsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLegendLabelsSettingsBuilder

Inheritance: objectSankeyLegendLabelsSettingsBuilder

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

Constructors

C#
public SankeyLegendLabelsSettingsBuilder(SankeyLegendLabelsSettings settings)
Parameters:settingsSankeyLegendLabelsSettings

The SankeyLegendLabelsSettings

Methods

The text color of the labels. Accepts a valid CSS color string, including hex and rgb.

C#
public SankeyLegendLabelsSettingsBuilder Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

SankeyLegendLabelsSettingsBuilder

The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".

C#
public SankeyLegendLabelsSettingsBuilder Font(string value)
Parameters:valuestring

The value that configures the font.

Returns:

SankeyLegendLabelsSettingsBuilder

The margin of the labels. A numeric value will set all margins.

C#
public SankeyLegendLabelsSettingsBuilder Margin(Action<SankeyLegendLabelsMarginSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendLabelsMarginSettingsBuilder>

The action that configures the margin.

Returns:

SankeyLegendLabelsSettingsBuilder

The padding of the labels. A numeric value will set all paddings.

C#
public SankeyLegendLabelsSettingsBuilder Padding(Action<SankeyLegendLabelsPaddingSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendLabelsPaddingSettingsBuilder>

The action that configures the padding.

Returns:

SankeyLegendLabelsSettingsBuilder