Class SliderTooltipData
Inherited Members
Namespace: Syncfusion.EJ2.Inputs
Assembly: Syncfusion.EJ2.dll
Syntax
public class SliderTooltipData : EJTagHelper
Constructors
SliderTooltipData()
Declaration
public SliderTooltipData()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
CssClass
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
[HtmlAttributeName("cssClass")]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Format
It is used to customize the Tooltip content to the desired format using internationalization or events (custom formatting).
Declaration
[HtmlAttributeName("format")]
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
IsVisible
It is used to show or hide the Tooltip of Slider Component. {% codeBlock src='slider/tooltipIsVisible/index.md' %}{% endcodeBlock %}
Declaration
[HtmlAttributeName("isVisible")]
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is null |
Placement
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
[HtmlAttributeName("placement")]
public TooltipPlacement Placement { get; set; }
Property Value
Type | Description |
---|---|
TooltipPlacement | The default value is null |
ShowOn
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
[HtmlAttributeName("showOn")]
public TooltipShowOn ShowOn { get; set; }
Property Value
Type | Description |
---|---|
TooltipShowOn | The default value is TooltipShowOn.Auto |