Class SliderTooltip
This class is used to set a tooltip for slider component.
Inheritance
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class SliderTooltip : OwningComponentBase
Constructors
SliderTooltip()
Declaration
public SliderTooltip()
Properties
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 |
---|
System.String |
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 |
---|
System.String |
IsVisible
It is used to show or hide the Tooltip of Slider Component.
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
Placement
It is used to denote the position for the tooltip element in the Slider. The available options are: 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
Type |
---|
TooltipPlacement |
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 |
---|
TooltipShowOn |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | "Task". |