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

Defines the fluent API for configuring the SankeyDataNodeLabelSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyDataNodeLabelSettingsBuilder

Inheritance: objectSankeyDataNodeLabelSettingsBuilder

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

Constructors

C#
public SankeyDataNodeLabelSettingsBuilder(SankeyDataNodeLabelSettings settings)
Parameters:settingsSankeyDataNodeLabelSettings

The SankeyDataNodeLabelSettings

Methods

The alignment of the label.

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

The value that configures the align.

Returns:

SankeyDataNodeLabelSettingsBuilder

The border of the label.

C#
public SankeyDataNodeLabelSettingsBuilder Border(Action<SankeyDataNodeLabelBorderSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyDataNodeLabelBorderSettingsBuilder>

The action that configures the border.

Returns:

SankeyDataNodeLabelSettingsBuilder

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

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

The value that configures the color.

Returns:

SankeyDataNodeLabelSettingsBuilder

The font of the label. Accepts a valid CSS font string. For example, "bold 12px Arial".

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

The value that configures the font.

Returns:

SankeyDataNodeLabelSettingsBuilder

The margin of the label.

C#
public SankeyDataNodeLabelSettingsBuilder Margin(Action<SankeyDataNodeLabelMarginSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyDataNodeLabelMarginSettingsBuilder>

The action that configures the margin.

Returns:

SankeyDataNodeLabelSettingsBuilder

The offset applied to the label's position.

C#
public SankeyDataNodeLabelSettingsBuilder Offset(Action<SankeyDataNodeLabelOffsetSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyDataNodeLabelOffsetSettingsBuilder>

The action that configures the offset.

Returns:

SankeyDataNodeLabelSettingsBuilder

The padding of the label.

C#
public SankeyDataNodeLabelSettingsBuilder Padding(Action<SankeyDataNodeLabelPaddingSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyDataNodeLabelPaddingSettingsBuilder>

The action that configures the padding.

Returns:

SankeyDataNodeLabelSettingsBuilder

The position of the label.

C#
public SankeyDataNodeLabelSettingsBuilder Position(LabelPosition value)
Parameters:valueLabelPosition

The value that configures the position.

Returns:

SankeyDataNodeLabelSettingsBuilder

The stroke of the label.

C#
public SankeyDataNodeLabelSettingsBuilder Stroke(Action<SankeyDataNodeLabelStrokeSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyDataNodeLabelStrokeSettingsBuilder>

The action that configures the stroke.

Returns:

SankeyDataNodeLabelSettingsBuilder

The text of the label.

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

The value that configures the text.

Returns:

SankeyDataNodeLabelSettingsBuilder

If set to false, the label will not be displayed.

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

The value that configures the visible.

Returns:

SankeyDataNodeLabelSettingsBuilder