I am using win form's list box control.
I want to add tool tips on list items. I could not find any default such properties.
Please share me , how can i add tool tips on winform list box items ?
Thank You
I am using win form's list box control.
I want to add tool tips on list items. I could not find any default such properties.
Please share me , how can i add tool tips on winform list box items ?
Thank You
I thought I'd mention that there is a
ShowItemToolTips
boolean attribute onListView
, if you want to use that instead of aListBox
. Set that attribute totrue
and then assign theToolTipText
values on theListView
items.If you want to do it in a listbox you will need to do it manually. Add a tooltip to the form and update the tooltip based on the mouses postion. An easier way to do this might be to use a DataGridView control like this:
I able to resolve thorough below ways:
one ref link:
http://dotnetfollower.com/wordpress/2012/01/winforms-show-individual-tooltip-for-each-listbox-item/ Thanks
Sadly, there is no implemented way to show ToolTips on each individual ListBox Item.
You can create your own ListBox control that allows you to do that, like this one: http://www.codeproject.com/Articles/457444/Listbox-Control-with-Tooltip-for-Each-Item