How to Programmatically show a WPF/C# Windows.Control.ToolTip?

后端 未结 7 2055
温柔的废话
温柔的废话 2020-12-25 12:01

There doesn\'t seem to be a .Show() kind of method for the Windows.Control.ToolTip, incl in ToolTipService.

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-25 12:53

    If you already design tooltip in XAML, you can try that way:

    ((ToolTip)Calendar01.ToolTip).IsOpen = true;
    

提交回复
热议问题