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

Defines the fluent API for configuring SliderTooltipSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class SliderTooltipSettingsBuilder<T> where T : struct, IComparable

Inheritance: objectSliderTooltipSettingsBuilder<T>

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

Constructors

SliderTooltipSettingsBuilder method.

C#
public SliderTooltipSettingsBuilder(SliderTooltipSettings<T> container)
Parameters:containerSliderTooltipSettings<T>

Properties

Gets or sets the Container.

C#
protected SliderTooltipSettings<T> Container { get; }

Methods

Disables (false) or enables (true) the tooltip of the Slider.

C#
public SliderTooltipSettingsBuilder<T> Enabled(bool value)
Parameters:valuebool

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.

C#
public SliderTooltipSettingsBuilder<T> Format(string value)
Parameters:valuestring

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.

C#
public SliderTooltipSettingsBuilder<T> Template(string value)
Parameters:valuestring

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.

C#
public SliderTooltipSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

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.

C#
public SliderTooltipSettingsBuilder<T> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

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.

C#
public SliderTooltipSettingsBuilder<T> TemplateId(string templateId)
Parameters:templateIdstring

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.

C#
public SliderTooltipSettingsBuilder<T> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

SliderTooltipSettingsBuilder<T>

Returns the current SliderTooltipSettingsBuilder<T> instance.