menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class MapsTooltipSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    MapsTooltipSettingsBuilder
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsTooltipSettingsBuilder : ControlBuilder

    Constructors

    MapsTooltipSettingsBuilder()

    Declaration
    public MapsTooltipSettingsBuilder()

    MapsTooltipSettingsBuilder(MapsTooltipSettings)

    Declaration
    public MapsTooltipSettingsBuilder(MapsTooltipSettings model)
    Parameters
    Type Name Description
    MapsTooltipSettings model

    Methods

    Border(MapsBorder)

    Gets or sets the options for customizing the style properties of the border of the tooltip in layers, markers, and bubbles of maps.

    Declaration
    public MapsTooltipSettingsBuilder Border(MapsBorder value)
    Parameters
    Type Name Description
    MapsBorder value
    Returns
    Type
    MapsTooltipSettingsBuilder

    Border(Action<MapsBorderBuilder>)

    Declaration
    public MapsTooltipSettingsBuilder Border(Action<MapsBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<MapsBorderBuilder> border
    Returns
    Type
    MapsTooltipSettingsBuilder

    Duration(Double)

    Specifies the value within which the tooltip will be removed on a mobile device. The value represents time in milliseconds. If the value is set to 0, the tooltip will not be removed. If the value is set to greater than 0, the tooltip will be removed at the specified time.

    Declaration
    public MapsTooltipSettingsBuilder Duration(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    MapsTooltipSettingsBuilder

    Fill(String)

    Gets or sets the color of the tooltip in layers, markers, and bubbles of maps.

    Declaration
    public MapsTooltipSettingsBuilder Fill(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsTooltipSettingsBuilder

    Format(String)

    Gets or sets the format of the tooltip in layers, markers, and bubbles of maps.

    Declaration
    public MapsTooltipSettingsBuilder Format(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsTooltipSettingsBuilder

    Template(String)

    Gets or sets the tooltip template of layers, markers, and bubbles in maps to display custom elements as tooltip.

    Declaration
    public MapsTooltipSettingsBuilder Template(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsTooltipSettingsBuilder

    TextStyle(MapsFont)

    Gets or sets the options for customizing the style of the text in tooltip for layers, markers, and bubbles of maps.

    Declaration
    public MapsTooltipSettingsBuilder TextStyle(MapsFont value)
    Parameters
    Type Name Description
    MapsFont value
    Returns
    Type
    MapsTooltipSettingsBuilder

    TextStyle(Action<MapsFontBuilder>)

    Declaration
    public MapsTooltipSettingsBuilder TextStyle(Action<MapsFontBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<MapsFontBuilder> textStyle
    Returns
    Type
    MapsTooltipSettingsBuilder

    ValuePath(String)

    Gets or sets the field name from the data source based on which the tooltip is visible on layers, markers, and bubbles of maps. For the layer tooltip, the field name from the GeoJSON data can also be set.

    Declaration
    public MapsTooltipSettingsBuilder ValuePath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsTooltipSettingsBuilder

    Visible(Boolean)

    Enables or disables the tooltip visibility of layers, markers, and bubbles in maps.

    Declaration
    public MapsTooltipSettingsBuilder Visible(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    MapsTooltipSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved