menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SliderTooltipDataBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SliderTooltipDataBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    SliderTooltipDataBuilder
    Namespace: Syncfusion.EJ2.Inputs
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SliderTooltipDataBuilder : ControlBuilder

    Constructors

    SliderTooltipDataBuilder()

    Declaration
    public SliderTooltipDataBuilder()

    SliderTooltipDataBuilder(SliderTooltipData)

    Declaration
    public SliderTooltipDataBuilder(SliderTooltipData model)
    Parameters
    Type Name Description
    SliderTooltipData model

    Methods

    CssClass(String)

    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
    Type
    SliderTooltipDataBuilder

    Format(String)

    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
    Type
    SliderTooltipDataBuilder

    IsVisible(Boolean)

    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
    Type
    SliderTooltipDataBuilder

    Placement(TooltipPlacement)

    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
    Type Name Description
    TooltipPlacement value
    Returns
    Type
    SliderTooltipDataBuilder

    ShowOn(TooltipShowOn)

    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
    Type Name Description
    TooltipShowOn value
    Returns
    Type
    SliderTooltipDataBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved