WPF ToolTip setting display time

Add the following properties on the ToolTip control

ToolTipService.ShowDuration="显示时间毫秒值" 

Example:

//显示1秒
ToolTipService.ShowDuration="100" 
//显示30秒
ToolTipService.ShowDuration="3000" 

In addition, ToolTipService has not added more functions to ToolTip to modify ToolTip.
Such as the display direction, appearance, time, and events of ToolTip.
Go to MSDN to check

Guess you like

Origin blog.csdn.net/qq_42068856/article/details/102919509