Class SliderTooltipData
Inheritance
System.Object
SliderTooltipData
Assembly: Syncfusion.EJ2.dll
public class SliderTooltipData : EJTagHelper
Constructors
Declaration
public SliderTooltipData()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
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 string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
It is used to customize the Tooltip content to the desired format
using internationalization or events (custom formatting).
Declaration
public string Format { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override bool IsComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
It is used to show or hide the Tooltip of Slider Component.
{% codeBlock src='slider/tooltipIsVisible/index.md' %}{% endcodeBlock %}
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
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 TooltipPlacement Placement { get; set; }
Property Value
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 TooltipShowOn ShowOn { get; set; }
Property Value