Skip to main content
All docs
V25.1
  • HeatmapToolTipOptions.AutoPopDelay Property

    Gets or sets the time interval during which the tooltip is displayed.

    Namespace: DevExpress.Xpf.Charts.Heatmap

    Assembly: DevExpress.Xpf.Charts.v25.1.dll

    NuGet Package: DevExpress.Wpf.Charts

    Declaration

    public TimeSpan AutoPopDelay { get; set; }

    Property Value

    Type Description
    TimeSpan

    The time interval during which the tooltip is displayed.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to AutoPopDelay
    HeatmapControl
    .ToolTipOptions .AutoPopDelay

    Example

    The following example shows how to enable tooltips for heatmap cells and configure tooltip options:

    Customized tooltip

    <Window.Resources>
        <DataTemplate x:Key="tooltipTemplate">
            <StackPanel Orientation="Vertical" Margin="8">
                <Label Foreground="Black" 
                       FontStyle="Italic" 
                       FontSize="14" 
                       Content="{Binding Path=ToolTipText}" />
            </StackPanel>
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <dxh:HeatmapControl ToolTipEnabled="True" 
                            ToolTipTemplate="{StaticResource ResourceKey=tooltipTemplate}">
            <dxh:HeatmapControl.ToolTipOptions>
                <dxh:HeatmapToolTipOptions ContentMargin="0" 
                                           Pattern="X: {X}&#x0a;Y: {Y}&#x0a;Value: {V}" 
                                           OpenMode="OnHover" 
                                           AutoPopDelay="00:00:03" 
                                           InitialDelay="00:00:00.1" 
                                           CloseOnClick="False"/>
            </dxh:HeatmapControl.ToolTipOptions>
            <!--...-->
        </dxh:HeatmapControl>
    </Grid>
    
    See Also