Class SliderTooltipDataBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SliderTooltipDataBuilder
Assembly: Syncfusion.EJ2.dll
public class SliderTooltipDataBuilder : ControlBuilder
Constructors
Declaration
public SliderTooltipDataBuilder()
Declaration
public SliderTooltipDataBuilder(SliderTooltipData model)
Parameters
Methods
It is used to customize the Tooltip which accepts custom CSS class names that define
specific user-defined styles and themes to be applied on the Tooltip element.
Declaration
public SliderTooltipDataBuilder CssClass(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
It is used to customize the Tooltip content to the desired format
using internationalization or events (custom formatting).
Declaration
public SliderTooltipDataBuilder Format(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
It is used to show or hide the Tooltip of Slider Component.
{% codeBlock src='slider/tooltipIsVisible/index.md' %}{% endcodeBlock %}
Declaration
public SliderTooltipDataBuilder IsVisible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
It is used to denote the position for the tooltip element in the Slider. The available options are:
{% codeBlock src='slider/tooltipplacement/index.md' %}{% endcodeBlock %}
Before - Tooltip is shown in the top of the horizontal slider bar or at the left of the vertical slider bar.
After - Tooltip is shown in the bottom of the horizontal slider bar or at the right of the vertical slider bar.
Declaration
public SliderTooltipDataBuilder Placement(TooltipPlacement value)
Parameters
Returns
It is used to determine the device mode to show the Tooltip.
If it is in desktop, it will show the Tooltip content when hovering on the target element.
If it is in touch device. It will show the Tooltip content when tap and holding on the target element.
{% codeBlock src='slider/tooltipShowOn/index.md' %}{% endcodeBlock %}
Declaration
public SliderTooltipDataBuilder ShowOn(TooltipShowOn value)
Parameters
Returns