blazor-devexpress-dot-blazor-dot-dxmapmarkertooltip-d2ea13a0.md
Specifies the initial tooltip visibility.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(false)]
[Parameter]
public bool Visible { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to show the tooltip; otherwise, false.
|
Set the Visible property to true do initially display the marker tooltip. Users can click a marker to display tooltip and click the close button to hide the tooltip.
<DxMap Zoom="14" Provider="MapProvider.Azure" Width="950px" Height="400px" >
<DxMapApiKeys Azure="@MapApiKeyProvider.GetAzureProviderKey()" />
<DxMapMarkers>
<DxMapMarker>
<DxMapMarkerLocation GeoPosition="51.519852,-0.077593" />
<DxMapMarkerTooltip Text="Spitalfields Market" Visible="true" />
</DxMapMarker>
<DxMapMarker>
<DxMapMarkerLocation GeoPosition="51.514763,-0.080787" />
<DxMapMarkerTooltip Text="The Gherkin" Visible="true" />
</DxMapMarker>
<DxMapMarker>
<DxMapMarkerLocation GeoPosition="51.508029,-0.078674" />
<DxMapMarkerTooltip Text="Tower of London" Visible="true" />
</DxMapMarker>
</DxMapMarkers>
</DxMap>
See Also