Friday, December 2, 2011

WPF - Trick to Show selected item as ComboBox tooltip


A simple trick to show Selected Text in combobox as tooltip using WPF. You would need this when width of ComboBox is limited and its selected content is not displayed fully. So, to let the user see what they have selected you can show same content in tooltip when they hover their mouse on that combobox.

You would bind Tooltip property in Combox as shown below.


4 comments: