Showing a tooltip for a MenuItem

前端 未结 6 1836
北恋
北恋 2021-01-17 11:25

I\'ve got a menu that contains, among other things, some most-recently-used file paths. The paths to these files can be long, so the text sometimes gets clipped like \"C:\\

6条回答
  •  孤街浪徒
    2021-01-17 12:13

    May be that I misunderstood you problem, but why do you need to use the Tooltip class? You can assign your text to the ToolTipText property and it will be shown to the user.

提交回复
热议问题