Tooltip for RadListBox

2 posts, 0 answers
  1. Vimal Kanth
    Vimal Kanth avatar
    3 posts
    Member since:
    Mar 2008

    Posted 08 Nov 2008 Link to this post

    Hi,

    I want to display a common tooltip to all the items of RadListBox. I 'm aware it is possible to set tooltip for Individual items. But i don't want to set for individual items.
    Please let me know how to do this.

    Regards,
    Vimal
  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 10 Nov 2008 Link to this post

    Hello Vimal Kanth,

    Thank you for your question.

    Please see the following sample code below:

    private void Form1_Load(object sender, EventArgs e) 
    {   
     
        this.radListBox1.ToolTipTextNeeded += new Telerik.WinControls.ToolTipTextNeededEventHandler(radListBox1_ToolTipTextNeeded); 
     
    void radListBox1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e) 
     
         e.ToolTipText = "some tooltip"


    Do not hesitate to write me back if you have further questions.

    Kind regards,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top