Defines the fluent API for configuring SliderTooltipSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class SliderTooltipSettingsBuilder<T> where T : struct, IComparable
Inheritance: objectSliderTooltipSettingsBuilder<T>
Inherited Members
Constructors
SliderTooltipSettingsBuilder method.
public SliderTooltipSettingsBuilder(SliderTooltipSettings<T> container)
Properties
Gets or sets the Container.
protected SliderTooltipSettings<T> Container { get; }
Methods
Disables (false) or enables (true) the tooltip of the Slider.
public SliderTooltipSettingsBuilder<T> Enabled(bool value)
The value for Enabled
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.
Format string for the text of the tooltip. Note: The applied format will also influence the appearance of the Slider tick labels.The slider widget supports precision of up-to 10 digits after the decimals point.
public SliderTooltipSettingsBuilder<T> Format(string value)
The value for Format
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.
Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template: value - the current value when using a regular slider or selectionStart and selectionEnd - the current values when using a range slider.
public SliderTooltipSettingsBuilder<T> Template(string value)
The value for Template
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.
Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template: value - the current value when using a regular slider or selectionStart and selectionEnd - the current values when using a range slider.
public SliderTooltipSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.
Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template: value - the current value when using a regular slider or selectionStart and selectionEnd - the current values when using a range slider.
public SliderTooltipSettingsBuilder<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.
Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template: value - the current value when using a regular slider or selectionStart and selectionEnd - the current values when using a range slider.
public SliderTooltipSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.
Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template: value - the current value when using a regular slider or selectionStart and selectionEnd - the current values when using a range slider.
public SliderTooltipSettingsBuilder<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:SliderTooltipSettingsBuilder<T>
Returns the current SliderTooltipSettingsBuilder<T> instance.