Defines the fluent API for configuring SankeyDataNodeLabelSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SankeyDataNodeLabelSettingsBuilder
Inheritance: objectSankeyDataNodeLabelSettingsBuilder
Inherited Members
Constructors
SankeyDataNodeLabelSettingsBuilder method.
public SankeyDataNodeLabelSettingsBuilder(SankeyDataNodeLabelSettings container)
Properties
Gets the settings being configured.
protected SankeyDataNodeLabelSettings Container { get; }
Methods
The alignment of the label.
public SankeyDataNodeLabelSettingsBuilder Align(LabelAlign value)
The value for Align
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current SankeyDataNodeLabelSettingsBuilder instance.
The border of the label.
public SankeyDataNodeLabelSettingsBuilder Border(Action<SankeyDataNodeLabelBorderSettingsBuilder> configurator)
The SankeyDataNodeLabelBorderSettingsBuilder for the border setting.
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current instance of SankeyDataNodeLabelSettingsBuilder .
The color of the label. Accepts a valid CSS color string, including hex and rgb.
public SankeyDataNodeLabelSettingsBuilder Color(string value)
The value for Color
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current SankeyDataNodeLabelSettingsBuilder instance.
The font of the label. Accepts a valid CSS font string. For example, "bold 12px Arial".
public SankeyDataNodeLabelSettingsBuilder Font(string value)
The value for Font
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current SankeyDataNodeLabelSettingsBuilder instance.
The margin of the label.
public SankeyDataNodeLabelSettingsBuilder Margin(Action<SankeyDataNodeLabelMarginSettingsBuilder> configurator)
The SankeyDataNodeLabelMarginSettingsBuilder for the margin setting.
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current instance of SankeyDataNodeLabelSettingsBuilder .
The offset applied to the label's position.
public SankeyDataNodeLabelSettingsBuilder Offset(Action<SankeyDataNodeLabelOffsetSettingsBuilder> configurator)
The SankeyDataNodeLabelOffsetSettingsBuilder for the offset setting.
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current instance of SankeyDataNodeLabelSettingsBuilder .
The padding of the label.
public SankeyDataNodeLabelSettingsBuilder Padding(Action<SankeyDataNodeLabelPaddingSettingsBuilder> configurator)
The SankeyDataNodeLabelPaddingSettingsBuilder for the padding setting.
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current instance of SankeyDataNodeLabelSettingsBuilder .
The position of the label.
public SankeyDataNodeLabelSettingsBuilder Position(LabelPosition value)
The value for Position
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current SankeyDataNodeLabelSettingsBuilder instance.
The stroke of the label.
public SankeyDataNodeLabelSettingsBuilder Stroke(Action<SankeyDataNodeLabelStrokeSettingsBuilder> configurator)
The SankeyDataNodeLabelStrokeSettingsBuilder for the stroke setting.
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current instance of SankeyDataNodeLabelSettingsBuilder .
The text of the label.
public SankeyDataNodeLabelSettingsBuilder Text(string value)
The value for Text
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current SankeyDataNodeLabelSettingsBuilder instance.
If set to false, the label will not be displayed.
public SankeyDataNodeLabelSettingsBuilder Visible(bool value)
The value for Visible
Returns:SankeyDataNodeLabelSettingsBuilder
Returns the current SankeyDataNodeLabelSettingsBuilder instance.