WPF Button tooltip just pops up for a blink of an eye

Viewed 85

In my WPF application I have a datagrid and one of it's columns contains two buttons. The buttons should have a tooltip, which appears with a 500ms delay. Unfortunately, the Tooltip just pops up for a blink of an eye.

The button's code:

<Button Grid.Row="1" Grid.Column="1" Command="{Binding Path=Data.CreateSingleBrickLinkInvoiceCommand, 
                                Source={StaticResource ProxyElement}}" ToolTip="{DynamicResource create_invoice_tooltip}" 
                                       ToolTipService.InitialShowDelay="500" >
                                <Image Source="/Images/download.png" />
                            </Button>
1 Answers

try use ToolTipService.ShowDuration Attached Property

<Button ToolTipService.ShowDuration="500" Grid.Row="1" Grid.Column="1" Command="{Binding Path=Data.CreateSingleBrickLinkInvoiceCommand, 
                                Source={StaticResource ProxyElement}}" ToolTip="{DynamicResource create_invoice_tooltip}" 
                                       ToolTipService.InitialShowDelay="500" >
                                <Image Source="/Images/download.png" />
                            </Button>
Related