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

Defines the fluent API for configuring the SankeyLabelsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SankeyLabelsSettingsBuilder

Inheritance: objectSankeyLabelsSettingsBuilder

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

Constructors

C#
public SankeyLabelsSettingsBuilder(SankeyLabelsSettings settings)
Parameters:settingsSankeyLabelsSettings

The SankeyLabelsSettings

Methods

The alignment of the label.

C#
public SankeyLabelsSettingsBuilder Align(string value)
Parameters:valuestring

The value that configures the align.

Returns:

SankeyLabelsSettingsBuilder

The border of the label.

C#
public SankeyLabelsSettingsBuilder Border(Action<SankeyLabelsBorderSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLabelsBorderSettingsBuilder>

The action that configures the border.

Returns:

SankeyLabelsSettingsBuilder

The color of the label.

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

The value that configures the color.

Returns:

SankeyLabelsSettingsBuilder

The font of the label.

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

The value that configures the font.

Returns:

SankeyLabelsSettingsBuilder

The margin of the label.

C#
public SankeyLabelsSettingsBuilder Margin(Action<SankeyLabelsMarginSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLabelsMarginSettingsBuilder>

The action that configures the margin.

Returns:

SankeyLabelsSettingsBuilder

The offset applied to the label's position.

C#
public SankeyLabelsSettingsBuilder Offset(Action<SankeyLabelsOffsetSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLabelsOffsetSettingsBuilder>

The action that configures the offset.

Returns:

SankeyLabelsSettingsBuilder

The padding of the label.

C#
public SankeyLabelsSettingsBuilder Padding(Action<SankeyLabelsPaddingSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLabelsPaddingSettingsBuilder>

The action that configures the padding.

Returns:

SankeyLabelsSettingsBuilder

The position of the label.

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

The value that configures the position.

Returns:

SankeyLabelsSettingsBuilder

The stroke of the label text.

C#
public SankeyLabelsSettingsBuilder Stroke(Action<SankeyLabelsStrokeSettingsBuilder> configurator)
Parameters:configuratorAction<SankeyLabelsStrokeSettingsBuilder>

The action that configures the stroke.

Returns:

SankeyLabelsSettingsBuilder

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

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

The value that configures the visible.

Returns:

SankeyLabelsSettingsBuilder