New to Telerik UI for WPF? Start a free 30-day trial
How to Increase Tooltip Duration for Items Added to Visualization Layer
Updated on Sep 15, 2025
Environment
| Product Version | 2019.1.116 |
| Product | RadMap for WPF |
Description
How to increase the tooltip duration for the items in the VisualizationLayer.
Solution
- Subscribe to the MapShapeVisualizationCreated event of VisualizationLayer.
- Use the ToolTipService.SetShowDuration method to set the tooltip duration for the generated visual element. To get the visual element use the Visualization property of the event arguments.
C#
private void VisualizationLayer_MapShapeVisualizationCreated(object sender, MapShapeOperationEventArgs e)
{
ToolTipService.SetShowDuration(e.Visualization, 1000);
}