开发者

Tooltip in .Net

开发者 https://www.devze.com 2022-12-27 18:11 出处:网络
I have a DataGridView in a Winforms application containing a collection of items. Each item has an ima开发者_运维百科ge and various other details. I know it is possible in WPF, but can you get a toolt

I have a DataGridView in a Winforms application containing a collection of items. Each item has an ima开发者_运维百科ge and various other details. I know it is possible in WPF, but can you get a tooltip to display an image and a more structured set of details then just plain text?

Thanks.


You'd have to draw it yourself, look at ToolTip.OwnerDraw.

http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.ownerdraw.aspx

0

精彩评论

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