Defines the fluent API for configuring SankeyLegendTitleSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SankeyLegendTitleSettingsBuilder
Inheritance: objectSankeyLegendTitleSettingsBuilder
Inherited Members
Constructors
SankeyLegendTitleSettingsBuilder method.
public SankeyLegendTitleSettingsBuilder(SankeyLegendTitleSettings container)
Properties
Gets the settings being configured.
protected SankeyLegendTitleSettings Container { get; }
Methods
The alignment of the title.
public SankeyLegendTitleSettingsBuilder Align(LabelAlign value)
The value for Align
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.
The background color of the title. Accepts a valid CSS color string, including hex and rgb.
public SankeyLegendTitleSettingsBuilder Background(string value)
The value for Background
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.
The border of the title.
public SankeyLegendTitleSettingsBuilder Border(Action<SankeyLegendTitleBorderSettingsBuilder> configurator)
The SankeyLegendTitleBorderSettingsBuilder for the border setting.
Returns:SankeyLegendTitleSettingsBuilder
Returns the current instance of SankeyLegendTitleSettingsBuilder .
The text color of the title. Accepts a valid CSS color string, including hex and rgb.
public SankeyLegendTitleSettingsBuilder Color(string value)
The value for Color
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.
The font of the title.
public SankeyLegendTitleSettingsBuilder Font(string value)
The value for Font
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.
The margin of the title. A numeric value will set all margins.
public SankeyLegendTitleSettingsBuilder Margin(Action<SankeyLegendTitleMarginSettingsBuilder> configurator)
The SankeyLegendTitleMarginSettingsBuilder for the margin setting.
Returns:SankeyLegendTitleSettingsBuilder
Returns the current instance of SankeyLegendTitleSettingsBuilder .
The padding of the title. A numeric value will set all margins.
public SankeyLegendTitleSettingsBuilder Padding(Action<SankeyLegendTitlePaddingSettingsBuilder> configurator)
The SankeyLegendTitlePaddingSettingsBuilder for the padding setting.
Returns:SankeyLegendTitleSettingsBuilder
Returns the current instance of SankeyLegendTitleSettingsBuilder .
The position of the title.
public SankeyLegendTitleSettingsBuilder Position(TitlePosition value)
The value for Position
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.
The text of the legend title. You can also set the text directly for a title with default options.
public SankeyLegendTitleSettingsBuilder Text(string value)
The value for Text
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.
If set to false the Sankey will not display the legend title.
public SankeyLegendTitleSettingsBuilder Visible(bool value)
The value for Visible
Returns:SankeyLegendTitleSettingsBuilder
Returns the current SankeyLegendTitleSettingsBuilder instance.