Defines the fluent API for configuring SankeyLegendLabelsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SankeyLegendLabelsSettingsBuilder
Inheritance: objectSankeyLegendLabelsSettingsBuilder
Inherited Members
Constructors
SankeyLegendLabelsSettingsBuilder method.
public SankeyLegendLabelsSettingsBuilder(SankeyLegendLabelsSettings container)
Properties
Gets the settings being configured.
protected SankeyLegendLabelsSettings Container { get; }
Methods
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
public SankeyLegendLabelsSettingsBuilder Color(string value)
The value for Color
Returns:SankeyLegendLabelsSettingsBuilder
Returns the current SankeyLegendLabelsSettingsBuilder instance.
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
public SankeyLegendLabelsSettingsBuilder Font(string value)
The value for Font
Returns:SankeyLegendLabelsSettingsBuilder
Returns the current SankeyLegendLabelsSettingsBuilder instance.
The margin of the labels. A numeric value will set all margins.
public SankeyLegendLabelsSettingsBuilder Margin(Action<SankeyLegendLabelsMarginSettingsBuilder> configurator)
The SankeyLegendLabelsMarginSettingsBuilder for the margin setting.
Returns:SankeyLegendLabelsSettingsBuilder
Returns the current instance of SankeyLegendLabelsSettingsBuilder .
The padding of the labels. A numeric value will set all paddings.
public SankeyLegendLabelsSettingsBuilder Padding(Action<SankeyLegendLabelsPaddingSettingsBuilder> configurator)
The SankeyLegendLabelsPaddingSettingsBuilder for the padding setting.
Returns:SankeyLegendLabelsSettingsBuilder
Returns the current instance of SankeyLegendLabelsSettingsBuilder .