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

Defines the fluent API for configuring the SankeyLegendTitleSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLegendTitleSettingsBuilder

Inheritance: objectSankeyLegendTitleSettingsBuilder

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

Constructors

C#
public SankeyLegendTitleSettingsBuilder(SankeyLegendTitleSettings settings)
Parameters:settingsSankeyLegendTitleSettings

The SankeyLegendTitleSettings

Methods

The alignment of the title.

C#
public SankeyLegendTitleSettingsBuilder Align(LabelAlign value)
Parameters:valueLabelAlign

The value that configures the align.

Returns:

SankeyLegendTitleSettingsBuilder

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

C#
public SankeyLegendTitleSettingsBuilder Background(string value)
Parameters:valuestring

The value that configures the background.

Returns:

SankeyLegendTitleSettingsBuilder

The border of the title.

C#
public SankeyLegendTitleSettingsBuilder Border(Action<SankeyLegendTitleBorderSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendTitleBorderSettingsBuilder>

The action that configures the border.

Returns:

SankeyLegendTitleSettingsBuilder

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

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

The value that configures the color.

Returns:

SankeyLegendTitleSettingsBuilder

The font of the title.

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

The value that configures the font.

Returns:

SankeyLegendTitleSettingsBuilder

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

C#
public SankeyLegendTitleSettingsBuilder Margin(Action<SankeyLegendTitleMarginSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendTitleMarginSettingsBuilder>

The action that configures the margin.

Returns:

SankeyLegendTitleSettingsBuilder

The padding of the title. A numeric value will set all margins.

C#
public SankeyLegendTitleSettingsBuilder Padding(Action<SankeyLegendTitlePaddingSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLegendTitlePaddingSettingsBuilder>

The action that configures the padding.

Returns:

SankeyLegendTitleSettingsBuilder

The position of the title.

C#
public SankeyLegendTitleSettingsBuilder Position(TitlePosition value)
Parameters:valueTitlePosition

The value that configures the position.

Returns:

SankeyLegendTitleSettingsBuilder

The text of the legend title. You can also set the text directly for a title with default options.

C#
public SankeyLegendTitleSettingsBuilder Text(string value)
Parameters:valuestring

The value that configures the text.

Returns:

SankeyLegendTitleSettingsBuilder

If set to false the Sankey will not display the legend title.

C#
public SankeyLegendTitleSettingsBuilder Visible(bool value)
Parameters:valuebool

The value that configures the visible.

Returns:

SankeyLegendTitleSettingsBuilder