New to Telerik UI for WPF? Download free 30-day trial

How to set the cell's tooltip duration

Environment

Product RadGridView for WPF

Description

How to increase/decrease the period that a tooltip for a GridViewCell is visible.

Solution

You can change the tooltip duration by setting the ToolTipService.ShowDuration attached property of the cells via a style.

Example 1: Setting ToolTipService.ShowDuration

<Window.Resources> 
<!-- If you're using the NoXaml binaries, you need to add the BasedOn="{StaticResource GridViewCellStyle}" attribute --> 
    <Style TargetType="telerik:GridViewCell"> 
    <Setter Property="ToolTipService.ShowDuration" Value="1000" /> 
</Style> 
</Window.Resources> 

If you do not want to apply this style to all GridViewCells in your application, you can use the CellStyle property of the columns to apply it only to a specific column.

See Also

In this article