Forcing a WPF tooltip to stay on the screen

前端 未结 10 1979
别那么骄傲
别那么骄傲 2020-12-08 18:24

I have a tooltip for a Label and I want it to stay open until the user moves the mouse to a different control.

I have tried the following properties on the tooltip:<

10条回答
  •  隐瞒了意图╮
    2020-12-08 18:28

    Just for the sake of completeness: In code it looks like this:

    ToolTipService.SetShowDuration(element, 60000);
    

提交回复
热议问题