Skip to main content

MapMarkerBuilder.Tooltip(String) Method

A tooltip to be used for the marker. Mirrors the client-side tooltip option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public MapMarkerBuilder Tooltip(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
MapMarkerBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Map()
    .Markers(markers => {
        markers.Add().Tooltip("My tooltip");
    })
)
See Also