Class SliderTooltipData
Inheritance
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 |
---|
Syncfusion.EJ2.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
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
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.
Declaration
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:
Declaration
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.
Declaration
public TooltipShowOn ShowOn { get; set; }
Property Value
Type | Description |
---|---|
TooltipShowOn | The default value is TooltipShowOn.Auto |