Hide tooltip if binding is null

后端 未结 6 723
情深已故
情深已故 2021-02-01 14:33

Currently i\'ve got the following code to show a tooltip.



        
6条回答
  •  天命终不由人
    2021-02-01 15:20

    You could create a converter from string to bool that returns false if the string length is 0 and true otherwise, then bind ToolTip.Active to TooltipInformation with that converter.

提交回复
热议问题