MapMarkerBuilder.Tooltip(String) Method
In This Article
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
C#
public MapMarkerBuilder Tooltip(
string value
)
#Parameters
Name | Type | Description |
---|---|---|
value | String | The option value. |
#Returns
Type | Description |
---|---|
Map |
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