How to set tooltips on ListView Subitems in .Net

后端 未结 5 1250
轻奢々
轻奢々 2021-02-10 09:15

I am trying to set the tool tip text for some of my subitems in my listview control. I am unable to get the tool tip to show up.

Anyone have any suggestions?

         


        
5条回答
  •  北荒
    北荒 (楼主)
    2021-02-10 09:23

    Assuming .NET 2.0 or later, you can also set ListView.ShowItemToolTips to true. If you need to customize the tooltip text for a given item, set ListViewItem.ToolTipText to the string you want displayed.

提交回复
热议问题