Skip to main content

MapMarkersTooltipBuilder.IsShown(Boolean) Method

Specifies whether a tooltip is visible by default or not. Mirrors the client-side isShown option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public MapMarkersTooltipBuilder IsShown(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
MapMarkersTooltipBuilder

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(tooltip => tooltip
            .IsShown(true)
        );
    })
)
See Also