Tooltip On Combobox Dropdown Items In C#.NET

Total Post:70


C#  .NET 
 5053  View(s)
Rate this:
I need an event to be raised when mouse hovers over  Combo Box items so that I could provide ToolTip for Items of dropDownArea of ComboBox. 
how to get index of comboBoxItem pointed by cursor ? 
Thanks in advance. 
  1. Re: Tooltip On Combobox Dropdown Items In C#.NET

    Below code will help you to achieve your goal. 
    // This method binds tooltip with a dropdown/ any list control
    public static void BindTooltip(ListControl lc) { for (int i = 0; i < lc.Items.Count; i++)
            lc.Items[i].Attributes.Add("title", lc.Items[i].Text);


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.