开发者

change listviewitem tooltip to balloon

开发者 https://www.devze.com 2023-03-09 02:31 出处:网络
is there a simple way to set the tooltip property开发者_如何学运维 of a listview item to be a balloon? Typically all i would do is:

is there a simple way to set the tooltip property开发者_如何学运维 of a listview item to be a balloon? Typically all i would do is:

Tooltip tt = new Tooltip("This is a tooltip");
tt.isBalloon = true;

but how do i do this for a listview item


You can manually show ToolTip when mouse is over certain item

check this article


There isn't an easy way to change the tooltip on a ListView. See this blog for a detailed explanation of why.

ObjectListView -- an open source wrapper around a standard WinForms ListView -- does a reasonable amount of work for you so that you can show enhanced tool tips with minimal effort on your part.

change listviewitem tooltip to balloon

Even if you don't want to use ObjectListView, you can still look at the code to see how it is done (admittedly, in the case of tool tips, there was a lot of work done and it would be tricky to extract that work into another project)

0

精彩评论

暂无评论...
验证码 换一张
取 消